D3DVOLUME_DESC structure

Describes a volume.

Syntax

typedef struct D3DVOLUME_DESC {
  D3DFORMAT       Format;
  D3DRESOURCETYPE Type;
  DWORD           Usage;
  D3DPOOL         Pool;
  UINT            Width;
  UINT            Height;
  UINT            Depth;
} D3DVOLUME_DESC, *LPD3DVOLUME_DESC;

Members

Format

Type: D3DFORMAT

Member of the D3DFORMAT enumerated type, describing the surface format of the volume.

Type

Type: D3DRESOURCETYPE

Member of the D3DRESOURCETYPE enumerated type, identifying this resource as a volume.

Usage

Type: DWORD

Currently not used. Always returned as 0.

Pool

Type: D3DPOOL

Member of the D3DPOOL enumerated type, specifying the class of memory allocated for this volume.

Width

Type: UINT

Width of the volume, in pixels.

Height

Type: UINT

Height of the volume, in pixels.

Depth

Type: UINT

Depth of the volume, in pixels.

Requirements

Requirement Value
Header
D3D9Types.h

See also

Direct3D Structures

GetDesc

GetLevelDesc