Microsoft DirectX 8.1 (C++)

AMVACompBufferInfo Structure

The AMVACompBufferInfo structure describes the allocated surfaces and compressed buffer information.

Note   This structure is available in Microsoft® Windows® 98 Second Edition, Windows 2000, and later operating systems.

Syntax

typedef struct _tag_AMVACompBufferInfo{
    DWORD dwNumCompBuffers;
    DWORD dwWidthToCreate;
    DWORD dwHeightToCreate;
    DWORD dwBytesToAllocate;
    DDSCAPS2 ddCompCaps;
    DDPIXELFORMAT ddPixelFormat;
 } AMVACompBufferInfo, *LPAMVACompBufferInfo;

Members

dwNumCompBuffers

Number of buffers requested for compressed data.

dwWidthToCreate

Width of surface to create.

dwHeightToCreate

Height of surface to create.

dwBytesToAllocate

Total number of bytes used by each surface.

ddCompCaps

DDSCAPS2 structure defining the capabilities of the DirectDrawSurface object created to store compressed data.

ddPixelFormat

DDPIXELFORMAT structure, describing the pixel format used to create surfaces to store compressed data.

See Also