Initializes a 3D ScratchImage.
public:
HRESULT Initialize3D(
DXGI_FORMAT fmt,
size_t width,
size_t height,
size_t depth,
size_t mipLevels
)
fmt
Type: DXGI_FORMAT
[in] One member of the DXGI_FORMAT enum.
width
Type: size_t
[in] Width of the texture.
height
Type: size_t
[in] Height of the texture.
depth
Type: size_t
[in] Depth of the texture.
mipLevels
Type: size_t
[in] Mip levels.
Type: HRESULT
Header: Declared in directxtex.h.