Describes the buffer initial data. More...
#include <Buffer.h>
Public Attributes | |
const void * | pData = nullptr |
Pointer to the data. | |
Uint64 | DataSize = 0 |
Data size, in bytes. | |
struct IDeviceContext * | pContext = nullptr |
Defines which device context will be used to initialize the buffer. | |
Describes the buffer initial data.
struct IDeviceContext* Diligent::BufferData::pContext = nullptr |
Defines which device context will be used to initialize the buffer.
The buffer will be in write state after the initialization. If an application uses the buffer in another context afterwards, it must synchronize the access to the buffer using fence. When null is provided, the first context enabled by ImmediateContextMask will be used.