|
Vulkan Schnee 0.0.1 (22840dc8)
High-performance rendering engine
|
Parsed VULKAN_SCHNEE_engine_properties extension data. More...
#include <GltfLoader.h>
Classes | |
| struct | AnchorPointReference |
| Syntax-level reference from an owning mesh node to an AnchorPoint node. More... | |
| struct | CollisionProperties |
| Collision shape properties imported from Blender. More... | |
| struct | DirectionalLightProperties |
| Directional light component data imported from directionalLightProperties. More... | |
| struct | LightProperties |
| Engine-side representation of the Blender light settings exported for an object, including shadow and lightmap behavior. More... | |
| struct | MeshProperties |
| Mesh behavior flags imported from meshProperties. More... | |
| struct | metadata |
| Legacy object metadata imported from older exporter output. More... | |
| struct | PointLightProperties |
| Point light component data imported from pointLightProperties. More... | |
Public Member Functions | |
| VulkanSchneeExtension ()=default | |
| Creates an empty extension record. | |
| VulkanSchneeExtension (const tinygltf::Value &vs_extension, const tinygltf::Model *model=nullptr) | |
| Parses the engine extension object. | |
| bool | hasLightProperties () const |
| Checks whether object lighting flags were parsed. | |
| bool | hasLightmapProperties () const |
| Checks whether lightmap settings were parsed. | |
| bool | hasMeshProperties () const |
| Checks whether mesh behavior flags were parsed. | |
| bool | hasCollisionProperties () const |
| Checks whether collision settings were parsed. | |
| bool | hasPointLightProperties () const |
| Checks whether point light settings were parsed. | |
| bool | hasDirectionalLightProperties () const |
| Checks whether directional light settings were parsed. | |
| bool | hasAnchorPoints () const |
| Checks whether valid AnchorPoint references were parsed. | |
Public Attributes | |
| std::optional< LightProperties > | lightProperties |
| Parsed object lighting flags when lightingProperties is present. | |
| std::optional< MeshProperties > | meshProperties |
| Parsed mesh behavior flags when meshProperties is present. | |
| std::optional< LightProperties::LightmapProperties > | lightmapProperties |
| Parsed lightmap settings when lightmapProperties is present. | |
| std::optional< CollisionProperties > | collisionProperties |
| Parsed collision settings when collisionProperties is present. | |
| std::optional< PointLightProperties > | pointLightProperties |
| Parsed point light settings when pointLightProperties is present. | |
| std::optional< DirectionalLightProperties > | directionalLightProperties |
| Parsed directional light settings when directionalLightProperties is present. | |
| std::vector< AnchorPointReference > | anchorPoints |
| Valid AnchorPoint references parsed from the extension. | |
Static Private Member Functions | |
| static std::string | extractVersion (const tinygltf::Value &vs_extension) |
| Extracts the version from the material extension. | |
Parsed VULKAN_SCHNEE_engine_properties extension data.
The extension is attached to glTF nodes by the Vulkan Schnee Blender exporter. It stores engine metadata that glTF does not represent directly, including static-mesh flags, lighting flags, lightmap paths, collision shapes, and authored light components.
Definition at line 244 of file GltfLoader.h.
|
default |
Creates an empty extension record.
|
explicit |
Parses the engine extension object.
| vs_extension | VULKAN_SCHNEE_engine_properties JSON object from tinygltf. |
| model | Optional source model used for collision data that references accessors. |
|
staticprivate |
Extracts the version from the material extension.
| vs_extension | the material extension |
|
nodiscard |
Checks whether valid AnchorPoint references were parsed.
|
nodiscard |
Checks whether collision settings were parsed.
|
nodiscard |
Checks whether directional light settings were parsed.
|
nodiscard |
Checks whether lightmap settings were parsed.
|
nodiscard |
Checks whether object lighting flags were parsed.
|
nodiscard |
Checks whether mesh behavior flags were parsed.
|
nodiscard |
Checks whether point light settings were parsed.
| std::vector<AnchorPointReference> Engine::Assets::Loaders::GltfLoader::VulkanSchneeExtension::anchorPoints |
Valid AnchorPoint references parsed from the extension.
Definition at line 639 of file GltfLoader.h.
| std::optional<CollisionProperties> Engine::Assets::Loaders::GltfLoader::VulkanSchneeExtension::collisionProperties |
Parsed collision settings when collisionProperties is present.
Definition at line 627 of file GltfLoader.h.
| std::optional<DirectionalLightProperties> Engine::Assets::Loaders::GltfLoader::VulkanSchneeExtension::directionalLightProperties |
Parsed directional light settings when directionalLightProperties is present.
Definition at line 637 of file GltfLoader.h.
| std::optional<LightProperties::LightmapProperties> Engine::Assets::Loaders::GltfLoader::VulkanSchneeExtension::lightmapProperties |
Parsed lightmap settings when lightmapProperties is present.
Definition at line 622 of file GltfLoader.h.
| std::optional<LightProperties> Engine::Assets::Loaders::GltfLoader::VulkanSchneeExtension::lightProperties |
Parsed object lighting flags when lightingProperties is present.
Definition at line 612 of file GltfLoader.h.
| std::optional<MeshProperties> Engine::Assets::Loaders::GltfLoader::VulkanSchneeExtension::meshProperties |
Parsed mesh behavior flags when meshProperties is present.
Definition at line 617 of file GltfLoader.h.
| std::optional<PointLightProperties> Engine::Assets::Loaders::GltfLoader::VulkanSchneeExtension::pointLightProperties |
Parsed point light settings when pointLightProperties is present.
Definition at line 632 of file GltfLoader.h.