Expand Minimize

HEAPALIGNMENT structure

The HEAPALIGNMENT structure contains data specifying the alignment requirements for a given display memory heap.

Syntax


typedef struct _HEAPALIGNMENT {
  DWORD            dwSize;
  DDSCAPS          ddsCaps;
  DWORD            dwReserved;
  SURFACEALIGNMENT ExecuteBuffer;
  SURFACEALIGNMENT Overlay;
  SURFACEALIGNMENT Texture;
  SURFACEALIGNMENT ZBuffer;
  SURFACEALIGNMENT AlphaBuffer;
  SURFACEALIGNMENT Offscreen;
  SURFACEALIGNMENT FlipTarget;
} HEAPALIGNMENT;

Members

dwSize

Specifies the size in bytes of this HEAPALIGNMENT structure.

ddsCaps

Specifies a DDSCAPS structure that indicates what alignment fields are valid.

dwReserved

Reserved for system use.

ExecuteBuffer

Specifies a SURFACEALIGNMENT structure that contains heap alignment requirements for surfaces tagged with DDSCAPS_EXECUTEBUFFER.

Overlay

Specifies a SURFACEALIGNMENT structure that contains heap alignment requirements for surfaces tagged with DDSCAPS_OVERLAY.

Texture

Specifies a SURFACEALIGNMENT structure that contains heap alignment requirements for surfaces tagged with DDSCAPS_TEXTURE.

ZBuffer

Specifies a SURFACEALIGNMENT structure that contains heap alignment requirements for surfaces tagged with DDSCAPS_ZBUFFER.

AlphaBuffer

Specifies a SURFACEALIGNMENT structure that contains heap alignment requirements for surfaces tagged with DDSCAPS_ALPHA.

Offscreen

Specifies a SURFACEALIGNMENT structure that contains heap alignment requirements for surfaces tagged with DDSCAPS_OFFSCREENPLAIN.

FlipTarget

Specifies a SURFACEALIGNMENT structure that contains heap alignment requirements for surfaces tagged with DDSCAPS_FLIP.

Remarks

The driver should verify that the dwSize member is at least as large as sizeof(HEAPALIGNMENT).

Requirements

Header

Dmemmgr.h (include Dmemmgr.h)

See also

DDSCAPS
SURFACEALIGNMENT

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft