ezEngine Release 25.08
Loading...
Searching...
No Matches
ezGALBufferRange Struct Reference

Defines a sub-set of a buffer that can be bound in a shader. Default constructed means entire buffer. Mainly used in ezBindGroupBuilder::BindBuffer calls to map resources to shader bindings and other binding related methods. More...

#include <RendererFoundationDLL.h>

Public Attributes

ezUInt32 m_uiByteOffset = 0
 Start of the view to the buffer. Must be multiple of the element size.
 
ezUInt32 m_uiByteCount = EZ_GAL_WHOLE_SIZE
 m_uiByteOffset + m_uiByteCount must be less than the size of the buffer, unless EZ_GAL_WHOLE_SIZE ist used, which maps to the rest of the buffer.
 

Detailed Description

Defines a sub-set of a buffer that can be bound in a shader. Default constructed means entire buffer. Mainly used in ezBindGroupBuilder::BindBuffer calls to map resources to shader bindings and other binding related methods.


The documentation for this struct was generated from the following file: