Diligent Engine API Reference
|
Describes data for one subresource. More...
Public Member Functions | |
TextureSubResData () | |
Initializes the structure members with default values. More... | |
TextureSubResData (void *_pData, Uint32 _Stride, Uint32 _DepthStride=0) | |
Initializes the structure members with provided values. | |
Public Attributes | |
const void * | pData |
Pointer to the subresource data. | |
Uint32 | Stride |
For 2D and 3D textures, row stride in bytes. | |
Uint32 | DepthStride |
For 3D textures, depth slice stride in bytes. More... | |
Describes data for one subresource.
|
inline |
Initializes the structure members with default values.
Default values:
Member | Default value |
---|---|
pData | nullptr |
Stride | 0 |
DepthStride | 0 |
Uint32 Diligent::TextureSubResData::DepthStride |
For 3D textures, depth slice stride in bytes.