Buffer properties. More...
#include <GraphicsTypes.h>
Public Member Functions | |
constexpr bool | operator== (const BufferProperties &RHS) const |
Comparison operator tests if two structures are equivalent. | |
Public Attributes | |
Uint32 | ConstantBufferOffsetAlignment = 0 |
The minimum required alignment, in bytes, for the constant buffer offsets. | |
Uint32 | StructuredBufferOffsetAlignment = 0 |
The minimum required alignment, in bytes, for the structured buffer offsets. | |
Buffer properties.
|
inlineconstexpr |
Comparison operator tests if two structures are equivalent.
[in] | RHS | - reference to the structure to perform comparison with |
Uint32 Diligent::BufferProperties::ConstantBufferOffsetAlignment = 0 |
The minimum required alignment, in bytes, for the constant buffer offsets.
The Offset parameter passed to IShaderResourceVariable::SetBufferRange() or to IShaderResourceVariable::SetBufferOffset() method used to set the offset of a constant buffer, must be an integer multiple of this limit.
Uint32 Diligent::BufferProperties::StructuredBufferOffsetAlignment = 0 |
The minimum required alignment, in bytes, for the structured buffer offsets.
The ByteOffset member of the BufferViewDesc used to create a structured buffer view or the Offset parameter passed to IShaderResourceVariable::SetBufferOffset() method used to set the offset of a structured buffer, must be an integer multiple of this limit.