![]() |
ezEngine Release 26.3
|
#include <ConstantBufferStorage.h>

Public Member Functions | |
| EZ_FORCE_INLINE T & | GetDataForWriting () |
| EZ_FORCE_INLINE const T & | GetDataForReading () const |
| Returns a typed const reference for reading from the constant buffer. | |
Public Member Functions inherited from ezConstantBufferStorageBase | |
| ezArrayPtr< ezUInt8 > | GetRawDataForWriting () |
| ezArrayPtr< const ezUInt8 > | GetRawDataForReading () const |
| Returns read-only access to the buffer data. | |
| void | BeforeBeginFrame () |
| Called at the beginning of each frame to reset per-frame state. | |
| void | UploadData (ezGALCommandEncoder *pCommandEncoder) |
| EZ_ALWAYS_INLINE ezGALBufferHandle | GetGALBufferHandle () const |
Additional Inherited Members | |
Protected Member Functions inherited from ezConstantBufferStorageBase | |
| ezConstantBufferStorageBase (ezUInt32 uiSizeInBytes) | |
Protected Attributes inherited from ezConstantBufferStorageBase | |
| bool | m_bHasBeenModified = false |
| bool | m_bStartOfFrame = true |
| ezUInt32 | m_uiLastHash = 0 |
| ezGALBufferHandle | m_hGALConstantBuffer |
| ezArrayPtr< ezUInt8 > | m_Data |
Typed wrapper for constant buffer storage.
Provides type-safe access to constant buffer data of type T.
|
inline |
Returns a typed reference for writing to the constant buffer.
Marks the buffer as modified for upload.