D3DX10_IMAGE_INFO structure

Returns a description of the original contents of an image file.

Syntax

typedef struct D3DX10_IMAGE_INFO {
  UINT                     Width;
  UINT                     Height;
  UINT                     Depth;
  UINT                     ArraySize;
  UINT                     MipLevels;
  UINT                     MiscFlags;
  DXGI_FORMAT              Format;
  D3D10_RESOURCE_DIMENSION ResourceDimension;
  D3DX10_IMAGE_FILE_FORMAT ImageFileFormat;
} D3DX10_IMAGE_INFO, *LPD3DX10_IMAGE_INFO;

Members

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.

ArraySize

Type: UINT

Size of the texture array. ArraySize will be 1 for a single image.

MipLevels

Type: UINT

Number of mipmap levels in original image.

MiscFlags

Type: UINT

Miscellaneous resource properties (see D3D10_RESOURCE_MISC_FLAG).

Format

Type: DXGI_FORMAT

A value from the DXGI_FORMAT enumerated type that most closely describes the data in the original image.

ResourceDimension

Type: D3D10_RESOURCE_DIMENSION

Represents the type of the texture stored in the file. See D3D10_RESOURCE_DIMENSION.

ImageFileFormat

Type: D3DX10_IMAGE_FILE_FORMAT

Represents the format of the image file. See D3DX10_IMAGE_FILE_FORMAT.

Requirements

Requirement Value
Header
D3DX10.h

See also

D3DX Structures