Diligent::TextureData struct

Describes the initial data to store in the texture.

Contents

Public variables

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.