|
Diligent Engine API Reference
|
Describes the initial data to store in the texture. More...
Public Member Functions | |
| TextureData () | |
| Initializes the structure members with default values. More... | |
Public Attributes | |
| TextureSubResData * | pSubResources |
| Pointer to the array of the TextureSubResData elements containing information about each subresource. | |
| Uint32 | NumSubresources |
| Number of elements in pSubResources array. NumSubresources must exactly match the number of subresources in the texture. Otherwise an error occurs. | |
Describes the initial data to store in the texture.
|
inline |
Initializes the structure members with default values.
Default values:
| Member | Default value |
|---|---|
| pSubResources | nullptr |
| NumSubresources | 0 |