|
CeresEngine 0.2.0
A game development framework
|
Resource reflection structure for textures, combined texture samplers, and buffers. More...
#include <CeresEngine/Material/ShaderCompiler/Reflection.hpp>
Public Attributes | |
| bool | referenced = false |
| Specifies whether this resource is referenced in the output shader unit. By default false. | |
| ResourceType | type = ResourceType::Undefined |
| Resource type. By default ResourceType::Undefined. | |
| String | name |
| Name of the resource. | |
| Int32 | slot = -1 |
| Zero-based binding slot number. If this is -1, the binding slot was not specified. By default -1. | |
Resource reflection structure for textures, combined texture samplers, and buffers.
| String CeresEngine::ShaderCompiler::Reflection::Resource::name |
Name of the resource.
Specifies whether this resource is referenced in the output shader unit. By default false.
| Int32 CeresEngine::ShaderCompiler::Reflection::Resource::slot = -1 |
Zero-based binding slot number. If this is -1, the binding slot was not specified. By default -1.
| ResourceType CeresEngine::ShaderCompiler::Reflection::Resource::type = ResourceType::Undefined |
Resource type. By default ResourceType::Undefined.