|
Vulkan Schnee 0.0.1 (22840dc8)
High-performance rendering engine
|
Parsed VULKAN_SCHNEE_materials material extension data. More...
#include <GltfLoader.h>
Classes | |
| struct | ShaderParameter |
| Shader input exported from a Vulkan Schnee Blender shader node. More... | |
Public Member Functions | |
| VulkanSchneeMaterialExtension ()=default | |
| Creates an empty material extension record. | |
| VulkanSchneeMaterialExtension (const tinygltf::Value &vs_extension) | |
| Parses a VULKAN_SCHNEE_materials extension object. | |
Public Attributes | |
| std::string | shaderType |
| Shader type string exported by the Blender material node. | |
| Rendering::PipelineNames | materialName |
| Renderer pipeline name resolved from shaderType. | |
| std::map< std::string, ShaderParameter > | shaderParameters |
| Shader socket parameters keyed by exported socket name. | |
| std::map< std::string, double > | nodeProperties |
| Numeric node properties keyed by exported property name. | |
| std::map< std::string, tinygltf::Value > | customProperties |
| Custom material properties preserved as tinygltf values. | |
| bool | normalMapBC5 = false |
| True when the normal map texture uses BC5 two-channel encoding. | |
Parsed VULKAN_SCHNEE_materials material extension data.
The extension stores the authored shader type, shader socket values, node properties, custom material properties, and normal map encoding metadata exported from Blender.
Definition at line 703 of file GltfLoader.h.
|
default |
Creates an empty material extension record.
|
explicit |
Parses a VULKAN_SCHNEE_materials extension object.
| vs_extension | Material extension JSON object from tinygltf. |
| std::map<std::string, tinygltf::Value> Engine::Assets::Loaders::GltfLoader::VulkanSchneeMaterialExtension::customProperties |
Custom material properties preserved as tinygltf values.
Definition at line 766 of file GltfLoader.h.
| Rendering::PipelineNames Engine::Assets::Loaders::GltfLoader::VulkanSchneeMaterialExtension::materialName |
Renderer pipeline name resolved from shaderType.
Definition at line 751 of file GltfLoader.h.
| std::map<std::string, double> Engine::Assets::Loaders::GltfLoader::VulkanSchneeMaterialExtension::nodeProperties |
Numeric node properties keyed by exported property name.
Definition at line 761 of file GltfLoader.h.
| bool Engine::Assets::Loaders::GltfLoader::VulkanSchneeMaterialExtension::normalMapBC5 = false |
True when the normal map texture uses BC5 two-channel encoding.
Definition at line 771 of file GltfLoader.h.
| std::map<std::string, ShaderParameter> Engine::Assets::Loaders::GltfLoader::VulkanSchneeMaterialExtension::shaderParameters |
Shader socket parameters keyed by exported socket name.
Definition at line 756 of file GltfLoader.h.
| std::string Engine::Assets::Loaders::GltfLoader::VulkanSchneeMaterialExtension::shaderType |
Shader type string exported by the Blender material node.
Definition at line 746 of file GltfLoader.h.