Microsoft DirectX 8.1 (C++)

D3DVOLUME_DESC

Describes a volume.

typedef struct _D3DVOLUME_DESC {
    D3DFORMAT           Format;
    D3DRESOURCETYPE     Type;
    DWORD               Usage;
    D3DPOOL             Pool;
    UINT                Size;
    UINT                Width;
    UINT                Height;
    UINT                Depth;
} D3DVOLUME_DESC;

Members

Format
Member of the D3DFORMAT enumerated type, describing the surface format of the volume.
Type
Member of the D3DRESOURCETYPE enumerated type, identifying this resource as a volume.
Usage
Currently not used. Always returned as 0.
Pool
Member of the D3DPOOL enumerated type, specifying the class of memory allocated for this volume.
Size
Size of the volume, in bytes.
Width
Width of the volume, in pixels.
Height
Height of the volume, in pixels.
Depth
Depth of the volume, in pixels.

Requirements

  Header: Declared in D3d8types.h.

See Also

IDirect3DVolume8::GetDesc, IDirect3DVolumeTexture8::GetLevelDesc