Expand Minimize

D3DKMDT_GRAPHICS_RENDERING_FORMAT structure

The D3DKMDT_GRAPHICS_RENDERING_FORMAT structure contains information about a primary rendering surface.

Syntax


typedef struct _D3DKMDT_GRAPHICS_RENDERING_FORMAT {
  D3DKMDT_2DREGION                PrimSurfSize;
  D3DKMDT_2DREGION                VisibleRegionSize;
  DWORD                           Stride;
  D3DDDIFORMAT                    PixelFormat;
  D3DKMDT_COLOR_BASIS             ColorBasis;
  D3DKMDT_PIXEL_VALUE_ACCESS_MODE PixelValueAccessMode;
} D3DKMDT_GRAPHICS_RENDERING_FORMAT;

Members

PrimSurfSize

A D3DKMDT_2DREGION structure that holds the size (number of pixels, both horizontal and vertical) of the surface.

VisibleRegionSize

A D3DKMDT_2DREGION structure that holds the size of the visible portion of the surface.

Stride

The offset, in bytes, between one scan line and the next scan line in the surface.

PixelFormat

A value from the D3DDDIFORMAT enumeration that indicates the pixel format of the surface.

ColorBasis

A value from the D3DKMDT_COLOR_BASIS enumeration that indicates the color basis used to encode the content of the surface.

PixelValueAccessMode

A value from the D3DKMDT_PIXEL_VALUE_ACCESS_MODE enumeration that indicates the type of data (for example, direct color values or palette indexes) that are stored in the surface.

Requirements

Version

Available in Windows Vista and later versions of the Windows operating systems.

Header

D3dkmdt.h (include D3dkmdt.h)

See also

D3DDDIFORMAT

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft