CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
CeresEngine::ShaderCompiler::Reflection::SamplerState Struct Reference

Sampler state reflection structure. More...

#include <CeresEngine/Material/ShaderCompiler/Reflection.hpp>

Public Attributes

ResourceType type = ResourceType::Undefined
 Resource type. By default ResourceType::Undefined.
 
String name
 Name of the sampler state.
 
Int32 slot = -1
 Zero-based binding slot number. If this is -1, the binding slot was not specified. By default -1.
 
bool referenced = false
 Specifies whether this record is referenced in the output shader unit. By default false.
 

Detailed Description

Sampler state reflection structure.

See also
ReflectionData::samplerStates

Member Data Documentation

◆ name

String CeresEngine::ShaderCompiler::Reflection::SamplerState::name

Name of the sampler state.

◆ referenced

bool CeresEngine::ShaderCompiler::Reflection::SamplerState::referenced = false

Specifies whether this record is referenced in the output shader unit. By default false.

◆ slot

Int32 CeresEngine::ShaderCompiler::Reflection::SamplerState::slot = -1

Zero-based binding slot number. If this is -1, the binding slot was not specified. By default -1.

◆ type

ResourceType CeresEngine::ShaderCompiler::Reflection::SamplerState::type = ResourceType::Undefined

Resource type. By default ResourceType::Undefined.


The documentation for this struct was generated from the following file: