Vulkan Schnee 0.0.1
High-performance rendering engine
Loading...
Searching...
No Matches
EngineCore::GltfLoader::VulkanSchneeMaterialExtension Struct Reference

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>

Collaboration diagram for EngineCore::GltfLoader::VulkanSchneeMaterialExtension:

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, ShaderParametershaderParameters
std::map< std::string, double > nodeProperties
std::map< std::string, tinygltf::Value > customProperties

Detailed Description

Extracts all material data from the gltf file. All data during runtime will be read from an object of this type.

Date
2025-10-01
Author
Konstantin Passig

Definition at line 169 of file GltfLoader.h.

Constructor & Destructor Documentation

◆ VulkanSchneeMaterialExtension() [1/2]

EngineCore::GltfLoader::VulkanSchneeMaterialExtension::VulkanSchneeMaterialExtension ( )
default

◆ VulkanSchneeMaterialExtension() [2/2]

EngineCore::GltfLoader::VulkanSchneeMaterialExtension::VulkanSchneeMaterialExtension ( const tinygltf::Value & vs_extension)
explicit

Definition at line 254 of file GltfLoader.cpp.

References customProperties, DEFAULT_MATERIAL_PIPELINE, EngineCore::MaterialShader::getPipelineNameFromString(), materialName, nodeProperties, shaderParameters, and shaderType.

Here is the call graph for this function:

Member Data Documentation

◆ customProperties

std::map<std::string, tinygltf::Value> EngineCore::GltfLoader::VulkanSchneeMaterialExtension::customProperties

Definition at line 193 of file GltfLoader.h.

Referenced by VulkanSchneeMaterialExtension().

◆ materialName

PipelineNames EngineCore::GltfLoader::VulkanSchneeMaterialExtension::materialName

◆ nodeProperties

std::map<std::string, double> EngineCore::GltfLoader::VulkanSchneeMaterialExtension::nodeProperties

◆ shaderParameters

std::map<std::string, ShaderParameter> EngineCore::GltfLoader::VulkanSchneeMaterialExtension::shaderParameters

Definition at line 191 of file GltfLoader.h.

Referenced by VulkanSchneeMaterialExtension().

◆ shaderType

std::string EngineCore::GltfLoader::VulkanSchneeMaterialExtension::shaderType

The documentation for this struct was generated from the following files:
  • /home/magerbeton/Documents/gl3-vulkan/Engine/include/Engine/Mesh/GltfLoader.h
  • /home/magerbeton/Documents/gl3-vulkan/Engine/src/Engine/Mesh/GltfLoader.cpp