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 |
| Uint32 | StructuredBufferOffsetAlignment = 0 |
| Uint32 | TextureUpdateOffsetAlignment = 0 |
| Uint32 | TextureUpdateStrideAlignment = 0 |
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 |
Minimum required alignment, in bytes, for constant buffer offsets.
The Offset parameter passed to IShaderResourceVariable::SetBufferRange() or IShaderResourceVariable::SetBufferOffset() for a constant buffer must be a multiple of this value.
| Uint32 Diligent::BufferProperties::StructuredBufferOffsetAlignment = 0 |
Minimum required alignment, in bytes, for structured buffer offsets.
The ByteOffset member of BufferViewDesc used to create a structured buffer view, or the Offset parameter passed to IShaderResourceVariable::SetBufferOffset() for a structured buffer, must be a multiple of this value.
| Uint32 Diligent::BufferProperties::TextureUpdateOffsetAlignment = 0 |
Minimum required alignment, in bytes, for source buffer offsets used by IDeviceContext::UpdateTexture().
When TextureSubResData::pSrcBuffer is not null, the TextureSubResData::SrcOffset member must be a multiple of this value.
| Uint32 Diligent::BufferProperties::TextureUpdateStrideAlignment = 0 |
Minimum required alignment, in bytes, for source buffer row strides used by IDeviceContext::UpdateTexture().
When TextureSubResData::pSrcBuffer is not null, the TextureSubResData::Stride member must be a multiple of this value.