Diligent Engine API Reference
Public Member Functions | Public Attributes | List of all members
Diligent::TextureData Struct 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

TextureSubResDatapSubResources
 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.
 

Detailed Description

Describes the initial data to store in the texture.

Constructor & Destructor Documentation

Diligent::TextureData::TextureData ( )
inline

Initializes the structure members with default values.

Default values:

Member Default value
pSubResources nullptr
NumSubresources 0