|
Vulkan Schnee 0.0.1
High-performance rendering engine
|
Extracts all material data from the gltf file. All data during runtime will be read from an object of this type. More...
#include <GltfLoader.h>
Classes | |
| struct | ShaderParameter |
| Represents a single shader parameter that can be either connected or a direct value. More... | |
Public Member Functions | |
| VulkanSchneeMaterialExtension ()=default | |
| VulkanSchneeMaterialExtension (const tinygltf::Value &vs_extension) | |
Public Attributes | |
| std::string | shaderType |
| PipelineNames | materialName |
| std::map< std::string, ShaderParameter > | shaderParameters |
| std::map< std::string, double > | nodeProperties |
| std::map< std::string, tinygltf::Value > | customProperties |
Extracts all material data from the gltf file. All data during runtime will be read from an object of this type.
Definition at line 169 of file GltfLoader.h.
|
default |
|
explicit |
Definition at line 254 of file GltfLoader.cpp.
References customProperties, DEFAULT_MATERIAL_PIPELINE, EngineCore::MaterialShader::getPipelineNameFromString(), materialName, nodeProperties, shaderParameters, and shaderType.
| std::map<std::string, tinygltf::Value> EngineCore::GltfLoader::VulkanSchneeMaterialExtension::customProperties |
Definition at line 193 of file GltfLoader.h.
Referenced by VulkanSchneeMaterialExtension().
| PipelineNames EngineCore::GltfLoader::VulkanSchneeMaterialExtension::materialName |
Definition at line 189 of file GltfLoader.h.
Referenced by EngineCore::GltfLoader::GltfMaterialData::setupMaterialData(), and VulkanSchneeMaterialExtension().
| std::map<std::string, double> EngineCore::GltfLoader::VulkanSchneeMaterialExtension::nodeProperties |
Definition at line 192 of file GltfLoader.h.
Referenced by EngineCore::GltfLoader::GltfMaterialData::setupMaterialData(), and VulkanSchneeMaterialExtension().
| std::map<std::string, ShaderParameter> EngineCore::GltfLoader::VulkanSchneeMaterialExtension::shaderParameters |
Definition at line 191 of file GltfLoader.h.
Referenced by VulkanSchneeMaterialExtension().
| std::string EngineCore::GltfLoader::VulkanSchneeMaterialExtension::shaderType |
Definition at line 188 of file GltfLoader.h.
Referenced by EngineCore::GltfLoader::GltfMaterialData::setupMaterialData(), and VulkanSchneeMaterialExtension().