Vulkan Schnee 0.0.1 (22840dc8)
High-performance rendering engine
Loading...
Searching...
No Matches
Engine::Assets::Loaders::GltfLoader::VulkanSchneeMaterialExtension::ShaderParameter Struct Reference

Shader input exported from a Vulkan Schnee Blender shader node. More...

#include <GltfLoader.h>

Collaboration diagram for Engine::Assets::Loaders::GltfLoader::VulkanSchneeMaterialExtension::ShaderParameter:

Public Member Functions

 ShaderParameter (const tinygltf::Value &param)
 Parses one shader parameter object.

Public Attributes

std::string type
 Parameter source type, usually connected or value.
std::string socketType
 Blender socket type string for the parameter.
tinygltf::Value value
 Direct parameter value when type is value.

Detailed Description

Shader input exported from a Vulkan Schnee Blender shader node.

Definition at line 719 of file GltfLoader.h.

Constructor & Destructor Documentation

◆ ShaderParameter()

Engine::Assets::Loaders::GltfLoader::VulkanSchneeMaterialExtension::ShaderParameter::ShaderParameter ( const tinygltf::Value & param)
explicit

Parses one shader parameter object.

Parameters
paramJSON object containing type, socketType, and optional value.

Member Data Documentation

◆ socketType

std::string Engine::Assets::Loaders::GltfLoader::VulkanSchneeMaterialExtension::ShaderParameter::socketType

Blender socket type string for the parameter.

Definition at line 735 of file GltfLoader.h.

◆ type

std::string Engine::Assets::Loaders::GltfLoader::VulkanSchneeMaterialExtension::ShaderParameter::type

Parameter source type, usually connected or value.

Definition at line 730 of file GltfLoader.h.

◆ value

tinygltf::Value Engine::Assets::Loaders::GltfLoader::VulkanSchneeMaterialExtension::ShaderParameter::value

Direct parameter value when type is value.

Definition at line 740 of file GltfLoader.h.


The documentation for this struct was generated from the following file:
  • /workspace/magerbeton/gl3-vulkan/code/Engine/include/Engine/Mesh/GltfLoader.h