ScratchImage::Initialize3DFromImages Method

Initializes a 3D ScratchImage from an array of Image structures.

Syntax

public:
HRESULT Initialize3DFromImages(
         const Image *images,
         size_t depth
)  

Parameters

images
Type: Image *

[in] Array of Image structures.

depth
Type: size_t 

[in] Depth of the array.

Return value

Type: HRESULT 

Success or error code.

Requirements

Header: Declared in directxtex.h.