Vulkan Schnee 0.0.1 (22840dc8)
High-performance rendering engine
Loading...
Searching...
No Matches
Engine::Core::GltfRenderableRecord Struct Reference

Imported metadata for one renderable node inside a glTF file. More...

#include <AssetRegistry.h>

Collaboration diagram for Engine::Core::GltfRenderableRecord:

Public Attributes

Assets::GltfHandle gltf
 Source glTF container that owns this renderable node.
std::string nodeName
 Authored node name, or a generated fallback for unnamed nodes.
uint32_t nodeIndex = 0
 Node index in the source glTF file.
uint32_t meshIndex = 0
 Mesh index referenced by the source glTF node.
Assets::GeometryMeshHandle geometry
 Geometry payload handle for the node mesh.
std::vector< Assets::MaterialHandle > primitiveMaterials
 Material handle per glTF primitive.
Ecs::Transform authoredTransform
 Transform imported from the glTF node.
bool isStatic = false
 True when imported metadata marks the node as static.
AnchorPointMap anchorPoints
 Direct-child empty transforms keyed by their authored node names.

Detailed Description

Imported metadata for one renderable node inside a glTF file.

The record keeps node-level data separate from geometry payloads so multiple renderables can share a mesh while retaining distinct transforms, material bindings, and static-lighting flags.

Definition at line 72 of file AssetRegistry.h.

Member Data Documentation

◆ anchorPoints

AnchorPointMap Engine::Core::GltfRenderableRecord::anchorPoints

Direct-child empty transforms keyed by their authored node names.

Definition at line 82 of file AssetRegistry.h.

◆ authoredTransform

Ecs::Transform Engine::Core::GltfRenderableRecord::authoredTransform

Transform imported from the glTF node.

Definition at line 80 of file AssetRegistry.h.

◆ geometry

Assets::GeometryMeshHandle Engine::Core::GltfRenderableRecord::geometry

Geometry payload handle for the node mesh.

Definition at line 78 of file AssetRegistry.h.

◆ gltf

Assets::GltfHandle Engine::Core::GltfRenderableRecord::gltf

Source glTF container that owns this renderable node.

Definition at line 74 of file AssetRegistry.h.

◆ isStatic

bool Engine::Core::GltfRenderableRecord::isStatic = false

True when imported metadata marks the node as static.

Definition at line 81 of file AssetRegistry.h.

◆ meshIndex

uint32_t Engine::Core::GltfRenderableRecord::meshIndex = 0

Mesh index referenced by the source glTF node.

Definition at line 77 of file AssetRegistry.h.

◆ nodeIndex

uint32_t Engine::Core::GltfRenderableRecord::nodeIndex = 0

Node index in the source glTF file.

Definition at line 76 of file AssetRegistry.h.

◆ nodeName

std::string Engine::Core::GltfRenderableRecord::nodeName

Authored node name, or a generated fallback for unnamed nodes.

Definition at line 75 of file AssetRegistry.h.

◆ primitiveMaterials

std::vector<Assets::MaterialHandle> Engine::Core::GltfRenderableRecord::primitiveMaterials

Material handle per glTF primitive.

Definition at line 79 of file AssetRegistry.h.


The documentation for this struct was generated from the following file:
  • /workspace/magerbeton/gl3-vulkan/code/Engine/include/Engine/Asset/AssetRegistry.h