Castor3D 0.15.0
Multiplatform 3D engine
Classes | Fonctions membres publiques | Attributs publics | Liste de tous les membres
Référence de la classe castor3d::SceneFileContext

#include <SceneFileParser.hpp>

Graphe de collaboration de castor3d::SceneFileContext:
Collaboration graph
[légende]

Classes

struct  OverlayPtr
 
struct  SceneImportConfig
 
struct  SceneNodeConfig
 

Fonctions membres publiques

C3D_API SceneFileContext (castor::LoggerInstance &logger, SceneFileParser *parser)
 Constructeur.
 
C3D_API void initialise ()
 Initialise toutes les variables.
 

Attributs publics

castor::LoggerInstance * logger {}
 
castor::PathArray files
 
castor::PathArray csnaFiles
 
SceneRPtr scene {}
 
SceneUPtr ownScene {}
 
RenderWindowDesc window {}
 
bool inWindow {}
 
SceneNodeConfig nodeConfig {}
 
SceneNodeRPtr parentNode {}
 
GeometryUPtr ownGeometry {}
 
GeometryRPtr geometry {}
 
SkeletonRPtr skeleton {}
 
MeshResPtr mesh {}
 
MeshRes ownMesh {}
 
SubmeshRPtr submesh {}
 
LightUPtr ownLight {}
 
LightRPtr light {}
 
castor::PixelFormat pixelFormat {}
 
MaterialObs material {}
 
MaterialPtr ownMaterial {}
 
bool createMaterial { true }
 
uint32_t passIndex {}
 
SamplerObs sampler {}
 
SamplerPtr ownSampler {}
 
TargetType targetType {}
 
RenderTargetRPtr renderTarget {}
 
RenderTargetRPtr textureRenderTarget {}
 
PassRPtr pass {}
 
PassComponentpassComponent {}
 
bool createPass { true }
 
uint32_t unitIndex {}
 
ashes::ImageCreateInfo imageInfo
 
ShaderProgramRPtr shaderProgram {}
 
castor::PxBufferBaseUPtr buffer {}
 
castor::Path folder {}
 
castor::Path relative {}
 
castor::ImageRPtr image {}
 
VkShaderStageFlagBits shaderStage {}
 
UniformBufferBaseUPtr uniformBuffer {}
 
OverlayPtr overlay
 
std::vector< OverlayPtrparentOverlays {}
 
BillboardListUPtr ownBillboards {}
 
BillboardListRPtr billboards {}
 
int face1 { -1 }
 
int face2 { -1 }
 
LightType lightType { LightType::eCount }
 
VkPrimitiveTopology primitiveType { VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST }
 
ViewportUPtr viewport {}
 
castor::String strName {}
 
castor::String strName2 {}
 
castor::Path path {}
 
castor::Size size {}
 
castor::Point2f point2f {}
 
uint32_t particleCount {}
 
int16_t fontHeight {}
 
ScenePtrStrMap mapScenes {}
 
SceneFileParserparser {}
 
FloatArray vertexPos {}
 
FloatArray vertexNml {}
 
FloatArray vertexTan {}
 
FloatArray vertexTex {}
 
UInt32Array faces {}
 
AnimatedObjectGroupRPtr animGroup {}
 
AnimatedObjectRPtr animSkeleton {}
 
AnimatedObjectRPtr animMesh {}
 
AnimatedObjectRPtr animNode {}
 
AnimatedObjectRPtr animTexture {}
 
TextureAnimationUPtr textureAnimation {}
 
MeshAnimationUPtr morphAnimation {}
 
SceneBackgroundUPtr background {}
 
ParticleSystemUPtr ownParticleSystem {}
 
ParticleSystemRPtr particleSystem {}
 
SsaoConfig ssaoConfig {}
 
SubsurfaceScatteringUPtr subsurfaceScattering {}
 
SkyboxBackgroundUPtr skybox {}
 
TextureConfiguration textureConfiguration {}
 
TextureTransform textureTransform {}
 
uint32_t texcoordSet {}
 
SceneImportConfig sceneImportConfig
 
MeshImporterUPtr importer
 

Documentation des constructeurs et destructeur

◆ SceneFileContext()

C3D_API castor3d::SceneFileContext::SceneFileContext ( castor::LoggerInstance &  logger,
SceneFileParser parser 
)

Constructeur.

Paramètres
[in]loggerL'instance du logger.
[in]parserL'analyseur.

Documentation des fonctions membres

◆ initialise()

C3D_API void castor3d::SceneFileContext::initialise ( )

Initialise toutes les variables.

Documentation des données membres

◆ animGroup

AnimatedObjectGroupRPtr castor3d::SceneFileContext::animGroup {}

◆ animMesh

AnimatedObjectRPtr castor3d::SceneFileContext::animMesh {}

◆ animNode

AnimatedObjectRPtr castor3d::SceneFileContext::animNode {}

◆ animSkeleton

AnimatedObjectRPtr castor3d::SceneFileContext::animSkeleton {}

◆ animTexture

AnimatedObjectRPtr castor3d::SceneFileContext::animTexture {}

◆ background

SceneBackgroundUPtr castor3d::SceneFileContext::background {}

◆ billboards

BillboardListRPtr castor3d::SceneFileContext::billboards {}

◆ buffer

castor::PxBufferBaseUPtr castor3d::SceneFileContext::buffer {}

◆ createMaterial

bool castor3d::SceneFileContext::createMaterial { true }

◆ createPass

bool castor3d::SceneFileContext::createPass { true }

◆ csnaFiles

castor::PathArray castor3d::SceneFileContext::csnaFiles

◆ face1

int castor3d::SceneFileContext::face1 { -1 }

◆ face2

int castor3d::SceneFileContext::face2 { -1 }

◆ faces

UInt32Array castor3d::SceneFileContext::faces {}

◆ files

castor::PathArray castor3d::SceneFileContext::files

◆ folder

castor::Path castor3d::SceneFileContext::folder {}

◆ fontHeight

int16_t castor3d::SceneFileContext::fontHeight {}

◆ geometry

GeometryRPtr castor3d::SceneFileContext::geometry {}

◆ image

castor::ImageRPtr castor3d::SceneFileContext::image {}

◆ imageInfo

ashes::ImageCreateInfo castor3d::SceneFileContext::imageInfo
Valeur initiale :
{ 0u
, VK_IMAGE_TYPE_2D
, VK_FORMAT_UNDEFINED
, { 1u, 1u, 1u }
, 0u
, 1u
, VK_SAMPLE_COUNT_1_BIT
, VK_IMAGE_TILING_OPTIMAL
, VK_IMAGE_USAGE_SAMPLED_BIT | VK_IMAGE_USAGE_TRANSFER_DST_BIT }

◆ importer

MeshImporterUPtr castor3d::SceneFileContext::importer

◆ inWindow

bool castor3d::SceneFileContext::inWindow {}

◆ light

LightRPtr castor3d::SceneFileContext::light {}

◆ lightType

LightType castor3d::SceneFileContext::lightType { LightType::eCount }

◆ logger

castor::LoggerInstance* castor3d::SceneFileContext::logger {}

◆ mapScenes

ScenePtrStrMap castor3d::SceneFileContext::mapScenes {}

◆ material

MaterialObs castor3d::SceneFileContext::material {}

◆ mesh

MeshResPtr castor3d::SceneFileContext::mesh {}

◆ morphAnimation

MeshAnimationUPtr castor3d::SceneFileContext::morphAnimation {}

◆ nodeConfig

SceneNodeConfig castor3d::SceneFileContext::nodeConfig {}

◆ overlay

OverlayPtr castor3d::SceneFileContext::overlay

◆ ownBillboards

BillboardListUPtr castor3d::SceneFileContext::ownBillboards {}

◆ ownGeometry

GeometryUPtr castor3d::SceneFileContext::ownGeometry {}

◆ ownLight

LightUPtr castor3d::SceneFileContext::ownLight {}

◆ ownMaterial

MaterialPtr castor3d::SceneFileContext::ownMaterial {}

◆ ownMesh

MeshRes castor3d::SceneFileContext::ownMesh {}

◆ ownParticleSystem

ParticleSystemUPtr castor3d::SceneFileContext::ownParticleSystem {}

◆ ownSampler

SamplerPtr castor3d::SceneFileContext::ownSampler {}

◆ ownScene

SceneUPtr castor3d::SceneFileContext::ownScene {}

◆ parentNode

SceneNodeRPtr castor3d::SceneFileContext::parentNode {}

◆ parentOverlays

std::vector< OverlayPtr > castor3d::SceneFileContext::parentOverlays {}

◆ parser

SceneFileParser* castor3d::SceneFileContext::parser {}

◆ particleCount

uint32_t castor3d::SceneFileContext::particleCount {}

◆ particleSystem

ParticleSystemRPtr castor3d::SceneFileContext::particleSystem {}

◆ pass

PassRPtr castor3d::SceneFileContext::pass {}

Référencé par castor3d::getPassComponent().

◆ passComponent

PassComponent* castor3d::SceneFileContext::passComponent {}

Référencé par castor3d::getPassComponent().

◆ passIndex

uint32_t castor3d::SceneFileContext::passIndex {}

◆ path

castor::Path castor3d::SceneFileContext::path {}

◆ pixelFormat

castor::PixelFormat castor3d::SceneFileContext::pixelFormat {}

◆ point2f

castor::Point2f castor3d::SceneFileContext::point2f {}

◆ primitiveType

VkPrimitiveTopology castor3d::SceneFileContext::primitiveType { VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST }

◆ relative

castor::Path castor3d::SceneFileContext::relative {}

◆ renderTarget

RenderTargetRPtr castor3d::SceneFileContext::renderTarget {}

◆ sampler

SamplerObs castor3d::SceneFileContext::sampler {}

◆ scene

SceneRPtr castor3d::SceneFileContext::scene {}

◆ sceneImportConfig

SceneImportConfig castor3d::SceneFileContext::sceneImportConfig

◆ shaderProgram

ShaderProgramRPtr castor3d::SceneFileContext::shaderProgram {}

◆ shaderStage

VkShaderStageFlagBits castor3d::SceneFileContext::shaderStage {}

◆ size

castor::Size castor3d::SceneFileContext::size {}

◆ skeleton

SkeletonRPtr castor3d::SceneFileContext::skeleton {}

◆ skybox

SkyboxBackgroundUPtr castor3d::SceneFileContext::skybox {}

◆ ssaoConfig

SsaoConfig castor3d::SceneFileContext::ssaoConfig {}

◆ strName

castor::String castor3d::SceneFileContext::strName {}

◆ strName2

castor::String castor3d::SceneFileContext::strName2 {}

◆ submesh

SubmeshRPtr castor3d::SceneFileContext::submesh {}

◆ subsurfaceScattering

SubsurfaceScatteringUPtr castor3d::SceneFileContext::subsurfaceScattering {}

◆ targetType

TargetType castor3d::SceneFileContext::targetType {}

◆ texcoordSet

uint32_t castor3d::SceneFileContext::texcoordSet {}

◆ textureAnimation

TextureAnimationUPtr castor3d::SceneFileContext::textureAnimation {}

◆ textureConfiguration

TextureConfiguration castor3d::SceneFileContext::textureConfiguration {}

◆ textureRenderTarget

RenderTargetRPtr castor3d::SceneFileContext::textureRenderTarget {}

◆ textureTransform

TextureTransform castor3d::SceneFileContext::textureTransform {}

◆ uniformBuffer

UniformBufferBaseUPtr castor3d::SceneFileContext::uniformBuffer {}

◆ unitIndex

uint32_t castor3d::SceneFileContext::unitIndex {}

◆ vertexNml

FloatArray castor3d::SceneFileContext::vertexNml {}

◆ vertexPos

FloatArray castor3d::SceneFileContext::vertexPos {}

◆ vertexTan

FloatArray castor3d::SceneFileContext::vertexTan {}

◆ vertexTex

FloatArray castor3d::SceneFileContext::vertexTex {}

◆ viewport

ViewportUPtr castor3d::SceneFileContext::viewport {}

◆ window

RenderWindowDesc castor3d::SceneFileContext::window {}

La documentation de cette classe a été générée à partir du fichier suivant :