|
CeresEngine 0.2.0
A game development framework
|
Input/output attribute and uniform reflection structure. More...
#include <CeresEngine/Material/ShaderCompiler/Reflection.hpp>
Public Member Functions | |
| Attribute ()=default | |
| Default constructor. | |
| Attribute (const String &name, const Int32 slot) | |
| Constructor to initialize all members. | |
Public Attributes | |
| bool | referenced = false |
| Specifies whether this attribute is referenced in the output shader unit. By default false. | |
| String | name |
| Name of the attribute. | |
| Int32 | slot = -1 |
| Zero-based attribute slot number. If this is -1, the binding slot was not specified. By default -1. | |
Input/output attribute and uniform reflection structure.
|
default |
Default constructor.
|
inline |
Constructor to initialize all members.
| String CeresEngine::ShaderCompiler::Reflection::Attribute::name |
Name of the attribute.
Specifies whether this attribute is referenced in the output shader unit. By default false.
| Int32 CeresEngine::ShaderCompiler::Reflection::Attribute::slot = -1 |
Zero-based attribute slot number. If this is -1, the binding slot was not specified. By default -1.