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

Handle to one mesh-bearing node inside a glTF file. More...

#include <AssetRefs.h>

Collaboration diagram for Engine::Assets::Authored::GltfRenderableAssetRef:

Public Attributes

std::string_view source
 Authored glTF source path.
std::string_view nodeName
 Renderable node name inside the source file.

Detailed Description

Handle to one mesh-bearing node inside a glTF file.

This is the handle to use for spawning or component setup because it preserves node-level data: node name, node index, authored transform, static/lightmap metadata, geometry handle, and per-primitive material handles. Multiple renderables can reference the same geometry while still having different transforms or material bindings.

Definition at line 28 of file AssetRefs.h.

Member Data Documentation

◆ nodeName

std::string_view Engine::Assets::Authored::GltfRenderableAssetRef::nodeName

Renderable node name inside the source file.

Definition at line 31 of file AssetRefs.h.

◆ source

std::string_view Engine::Assets::Authored::GltfRenderableAssetRef::source

Authored glTF source path.

Definition at line 30 of file AssetRefs.h.


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