Castor3D 0.14.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  SceneImportConfig
 

Fonctions membres publiques

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

Attributs publics

castor::LoggerInstance * logger {}
 
castor::PathArray files
 
castor::PathArray csnaFiles
 
SceneRPtr scene {}
 
SceneUPtr ownScene {}
 
RenderWindowDesc window {}
 
bool inWindow {}
 
SceneNodeSPtr sceneNode {}
 
GeometrySPtr geometry {}
 
SkeletonRPtr skeleton {}
 
MeshResPtr mesh {}
 
MeshRes ownMesh {}
 
SubmeshSPtr submesh {}
 
LightSPtr light {}
 
CameraSPtr camera {}
 
castor::PixelFormat pixelFormat {}
 
MaterialRPtr material {}
 
MaterialRes ownMaterial {}
 
bool createMaterial { true }
 
uint32_t passIndex {}
 
SamplerResPtr sampler {}
 
SamplerRes ownSampler {}
 
TargetType targetType {}
 
RenderTargetSPtr renderTarget {}
 
RenderTargetSPtr textureRenderTarget {}
 
PassSPtr pass {}
 
PassComponentpassComponent {}
 
bool createPass { true }
 
uint32_t unitIndex {}
 
ashes::ImageCreateInfo imageInfo
 
ShaderProgramSPtr shaderProgram {}
 
castor::PxBufferBaseSPtr buffer {}
 
castor::Path folder {}
 
castor::Path relative {}
 
VkShaderStageFlagBits shaderStage {}
 
UniformBufferBaseUPtr uniformBuffer {}
 
OverlayRes overlay {}
 
std::vector< OverlayResparentOverlays {}
 
BillboardListSPtr billboards {}
 
int face1 { -1 }
 
int face2 { -1 }
 
LightType lightType { LightType::eCount }
 
VkPrimitiveTopology primitiveType { VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST }
 
ViewportSPtr 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 {}
 
AnimatedObjectGroupSPtr animGroup {}
 
AnimatedObjectSPtr animSkeleton {}
 
AnimatedObjectSPtr animMesh {}
 
AnimatedObjectSPtr animNode {}
 
AnimatedObjectSPtr animTexture {}
 
TextureAnimationUPtr textureAnimation {}
 
MeshAnimationUPtr morphAnimation {}
 
SceneBackgroundSPtr background {}
 
ParticleSystemSPtr particleSystem {}
 
SsaoConfig ssaoConfig {}
 
SubsurfaceScatteringUPtr subsurfaceScattering {}
 
std::shared_ptr< SkyboxBackgroundskybox {}
 
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

AnimatedObjectGroupSPtr castor3d::SceneFileContext::animGroup {}

◆ animMesh

AnimatedObjectSPtr castor3d::SceneFileContext::animMesh {}

◆ animNode

AnimatedObjectSPtr castor3d::SceneFileContext::animNode {}

◆ animSkeleton

AnimatedObjectSPtr castor3d::SceneFileContext::animSkeleton {}

◆ animTexture

AnimatedObjectSPtr castor3d::SceneFileContext::animTexture {}

◆ background

SceneBackgroundSPtr castor3d::SceneFileContext::background {}

◆ billboards

BillboardListSPtr castor3d::SceneFileContext::billboards {}

◆ buffer

castor::PxBufferBaseSPtr castor3d::SceneFileContext::buffer {}

◆ camera

CameraSPtr castor3d::SceneFileContext::camera {}

◆ 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

GeometrySPtr castor3d::SceneFileContext::geometry {}

◆ 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

LightSPtr castor3d::SceneFileContext::light {}

◆ lightType

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

◆ logger

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

◆ mapScenes

ScenePtrStrMap castor3d::SceneFileContext::mapScenes {}

◆ material

MaterialRPtr castor3d::SceneFileContext::material {}

◆ mesh

MeshResPtr castor3d::SceneFileContext::mesh {}

◆ morphAnimation

MeshAnimationUPtr castor3d::SceneFileContext::morphAnimation {}

◆ overlay

OverlayRes castor3d::SceneFileContext::overlay {}

◆ ownMaterial

MaterialRes castor3d::SceneFileContext::ownMaterial {}

◆ ownMesh

MeshRes castor3d::SceneFileContext::ownMesh {}

◆ ownSampler

SamplerRes castor3d::SceneFileContext::ownSampler {}

◆ ownScene

SceneUPtr castor3d::SceneFileContext::ownScene {}

◆ parentOverlays

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

◆ parser

SceneFileParser* castor3d::SceneFileContext::parser {}

◆ particleCount

uint32_t castor3d::SceneFileContext::particleCount {}

◆ particleSystem

ParticleSystemSPtr castor3d::SceneFileContext::particleSystem {}

◆ pass

PassSPtr 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

RenderTargetSPtr castor3d::SceneFileContext::renderTarget {}

◆ sampler

SamplerResPtr castor3d::SceneFileContext::sampler {}

◆ scene

SceneRPtr castor3d::SceneFileContext::scene {}

◆ sceneImportConfig

SceneImportConfig castor3d::SceneFileContext::sceneImportConfig

◆ sceneNode

SceneNodeSPtr castor3d::SceneFileContext::sceneNode {}

◆ shaderProgram

ShaderProgramSPtr castor3d::SceneFileContext::shaderProgram {}

◆ shaderStage

VkShaderStageFlagBits castor3d::SceneFileContext::shaderStage {}

◆ size

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

◆ skeleton

SkeletonRPtr castor3d::SceneFileContext::skeleton {}

◆ skybox

std::shared_ptr< SkyboxBackground > castor3d::SceneFileContext::skybox {}

◆ ssaoConfig

SsaoConfig castor3d::SceneFileContext::ssaoConfig {}

◆ strName

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

◆ strName2

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

◆ submesh

SubmeshSPtr 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

RenderTargetSPtr 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

ViewportSPtr castor3d::SceneFileContext::viewport {}

◆ window

RenderWindowDesc castor3d::SceneFileContext::window {}

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