![]() |
LLGL 0.05 Beta
|
Shader reflection resource structure. More...
#include <ShaderReflection.h>
Public Attributes | |
| BindingDescriptor | binding |
| Binding descriptor with resource name, binding slot, flags, and array size. | |
| std::uint32_t | constantBufferSize = 0 |
| Specifies the size (in bytes) for a constant buffer resource. | |
| StorageBufferType | storageBufferType = StorageBufferType::Undefined |
| Specifies the sub-type of a storage buffer resource. | |
Shader reflection resource structure.
| BindingDescriptor LLGL::ShaderResourceReflection::binding |
Binding descriptor with resource name, binding slot, flags, and array size.
name attribute in the BindingDescriptor structure is optional for pipeline layouts, the shader reflection always queries this attribute as well. | std::uint32_t LLGL::ShaderResourceReflection::constantBufferSize = 0 |
Specifies the size (in bytes) for a constant buffer resource.
type is not equal to ShaderResourceType::ConstantBuffer, this attribute is zero. | StorageBufferType LLGL::ShaderResourceReflection::storageBufferType = StorageBufferType::Undefined |
Specifies the sub-type of a storage buffer resource.