|
CeresEngine 0.2.0
A game development framework
|
Constant buffer reflection structure. More...
#include <CeresEngine/Material/ShaderCompiler/Reflection.hpp>
Public Attributes | |
| bool | referenced = false |
| Specifies whether this constant buffer 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 constant buffer. | |
| Int32 | slot = -1 |
| Zero-based binding slot number. If this is -1, the binding slot was not specified. By default -1. | |
| Vector< Field > | fields |
| Collection of all fields within this constant buffer. | |
| UInt32 | size = 0 |
| Size (in bytes) of the constant buffer with a 16-byte alignment. If this is 0xFFFFFFFF, the buffer size could not be determined. By default 0. | |
| UInt32 | padding = 0 |
| Size (in bytes) of the padding that is added to the constant buffer. By default 0. | |
Constant buffer reflection structure.
Collection of all fields within this constant buffer.
| String CeresEngine::ShaderCompiler::Reflection::ConstantBuffer::name |
Name of the constant buffer.
| UInt32 CeresEngine::ShaderCompiler::Reflection::ConstantBuffer::padding = 0 |
Size (in bytes) of the padding that is added to the constant buffer. By default 0.
Specifies whether this constant buffer is referenced in the output shader unit. By default false.
| UInt32 CeresEngine::ShaderCompiler::Reflection::ConstantBuffer::size = 0 |
Size (in bytes) of the constant buffer with a 16-byte alignment. If this is 0xFFFFFFFF, the buffer size could not be determined. By default 0.
| Int32 CeresEngine::ShaderCompiler::Reflection::ConstantBuffer::slot = -1 |
Zero-based binding slot number. If this is -1, the binding slot was not specified. By default -1.
| ResourceType CeresEngine::ShaderCompiler::Reflection::ConstantBuffer::type = ResourceType::Undefined |
Resource type. By default ResourceType::Undefined.