Description of a uniform buffer. More...
#include <kanzi/core.ui/graphics3d/shader.hpp>
Public Member Functions | |
| UniformBuffer ()=default | |
| Constructor. | |
| UniformBuffer (string_view name, uint8_t setIndex, uint8_t bindingIndex, uint32_t size) | |
| Constructor for a uniform buffer. | |
Public Attributes | |
| uint8_t | bindingIndex |
| Binding index within the set. | |
| string | name |
| Name of the uniform buffer. | |
| uint8_t | setIndex |
| Resource Set Index. | |
| uint32_t | size |
| Size of the uniform buffer in bytes. | |
Static Public Attributes | |
| static const uint8_t | ConstantBufferIndex |
| Resource set index for the constant buffer. | |
Description of a uniform buffer.
|
explicitdefault |
Constructor.
Resource set index for the constant buffer.
| string kanzi::ShaderProgram::UniformBuffer::name |
Name of the uniform buffer.
| uint32_t kanzi::ShaderProgram::UniformBuffer::size |
Size of the uniform buffer in bytes.