ContentBlock

ContentBlock struct used when loading scene content.

File location: framework/cauldron/framework/inc/core/contentloader.h

Construction

Return type

Description

Construction.

Detailed description

ContentBlock struct used when loading scene content. Contains all meshes, textures, etc. needed for rendering a loaded asset.

Data fields

Type

Description

std::vector<EntityDataBlock *>

EntityDataBlocks
Entity storage.

const Entity *

ActiveCamera
Defines an entity was loaded that was marked as an active camera.

std::vector<const Texture *>

TextureAssets
Pointer list to loaded “Texture“ resources.

std::vector<Material *>

Materials
Pointer list to loaded “Material“ resources.

std::vector<Mesh *>

Meshes
Pointer list to loaded “Mesh“ resources.

std::vector<Animation *>

Animations
Pointer list to loaded “Animation“ resources.

std::vector<AnimationSkin *>

Skins
Pointer list to loaded “AnimationSkin“ resources.

Construction

ContentBlock

Copied!

ContentBlock ()

Construction.