Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register todayThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Returns a description of the original contents of an image file.
typedef struct D3DXIMAGE_INFO {
UINT Width;
UINT Height;
UINT Depth;
UINT MipLevels;
D3DFORMAT Format;
D3DRESOURCETYPE ResourceType;
D3DXIMAGE_FILEFORMAT ImageFileFormat;
} D3DXIMAGE_INFO, *LPD3DXIMAGE_INFO;
Width
Type: UINT
Width of original image in pixels.
Height
Type: UINT
Height of original image in pixels.
Depth
Type: UINT
Depth of original image in pixels.
MipLevels
Type: UINT
Number of mip levels in original image.
Format
Type: D3DFORMAT
A value from the D3DFORMAT enumerated type that most closely describes the data in the original image.
ResourceType
Type: D3DRESOURCETYPE
Represents the type of the texture stored in the file. It is either D3DRTYPE_TEXTURE, D3DRTYPE_VOLUMETEXTURE, or D3DRTYPE_CubeTexture.
ImageFileFormat
Type: D3DXIMAGE_FILEFORMAT
Represents the format of the image file.
Requirement | Value |
---|---|
Header |
|
Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register today