|
Vulkan Schnee 0.0.1 (22840dc8)
High-performance rendering engine
|
Lightmap metadata imported from lightmapProperties. More...
#include <GltfLoader.h>
Public Member Functions | |
| LightmapProperties (const tinygltf::Value &extension) | |
| Parses a lightmapProperties object. | |
| bool | isLightmapPathValid () const |
| Checks whether either lightmap path is present. | |
| const std::filesystem::path & | getRuntimeLightmapPath () const |
| Gets the texture path used at runtime. | |
Public Attributes | |
| std::filesystem::path | lightmapPath |
| Authored lightmap image path, usually relative to the glTF file. | |
| std::filesystem::path | lightmapKtxPath |
| Runtime KTX lightmap path when the export converted the source image. | |
| uint32_t | lightmapUvIndex |
| UV set index used for lightmap sampling. | |
Lightmap metadata imported from lightmapProperties.
Definition at line 306 of file GltfLoader.h.
|
explicit |
Parses a lightmapProperties object.
| extension | JSON object with lightmap paths and UV channel data. |
|
nodiscard |
Gets the texture path used at runtime.
| bool Engine::Assets::Loaders::GltfLoader::VulkanSchneeExtension::LightProperties::LightmapProperties::isLightmapPathValid | ( | ) | const |
Checks whether either lightmap path is present.
| std::filesystem::path Engine::Assets::Loaders::GltfLoader::VulkanSchneeExtension::LightProperties::LightmapProperties::lightmapKtxPath |
Runtime KTX lightmap path when the export converted the source image.
Definition at line 322 of file GltfLoader.h.
| std::filesystem::path Engine::Assets::Loaders::GltfLoader::VulkanSchneeExtension::LightProperties::LightmapProperties::lightmapPath |
Authored lightmap image path, usually relative to the glTF file.
Definition at line 317 of file GltfLoader.h.
| uint32_t Engine::Assets::Loaders::GltfLoader::VulkanSchneeExtension::LightProperties::LightmapProperties::lightmapUvIndex |
UV set index used for lightmap sampling.
Definition at line 327 of file GltfLoader.h.