|
Vulkan Schnee 0.0.1
High-performance rendering engine
|
Static mesh settings parsed from legacy glTF extras. More...
#include <GltfLoader.h>
Public Member Functions | |
| StaticMeshSettings ()=default | |
| Creates settings with lightmaps disabled. | |
| StaticMeshSettings (const tinygltf::Value &extras) | |
| Parses lightmap settings from a tinygltf extras object. | |
Public Attributes | |
| bool | bUsesLightMaps = false |
| True when the mesh uses baked lightmaps. | |
| std::filesystem::path | lightMapPath = std::filesystem::path() |
| Path to the baked lightmap texture. | |
| int | lightMapUvIndex = std::numeric_limits<int>::max() |
| UV channel index used for lightmap sampling. | |
Static mesh settings parsed from legacy glTF extras.
Definition at line 207 of file GltfLoader.h.
|
default |
Creates settings with lightmaps disabled.
| Engine::Assets::Loaders::GltfLoader::StaticMeshSettings::StaticMeshSettings | ( | const tinygltf::Value & | extras | ) |
Parses lightmap settings from a tinygltf extras object.
| extras | Extras object containing HasLightmaps, LightMapPath, and LightMapUvIndex. |
| bool Engine::Assets::Loaders::GltfLoader::StaticMeshSettings::bUsesLightMaps = false |
True when the mesh uses baked lightmaps.
Definition at line 223 of file GltfLoader.h.
| std::filesystem::path Engine::Assets::Loaders::GltfLoader::StaticMeshSettings::lightMapPath = std::filesystem::path() |
Path to the baked lightmap texture.
Definition at line 228 of file GltfLoader.h.
| int Engine::Assets::Loaders::GltfLoader::StaticMeshSettings::lightMapUvIndex = std::numeric_limits<int>::max() |
UV channel index used for lightmap sampling.
Definition at line 233 of file GltfLoader.h.