Share via


D3DMRTYPEFLAG Values (Windows Embedded CE 6.0)

1/6/2010

The following macros are used to identify resource types in D3DMDEVICEFORMAT structures.

Syntax

#define D3DMRTYPEFLAG_SURFACE       (1 << D3DMRTYPE_SURFACE)
#define D3DMRTYPEFLAG_DEPTHSTENCIL  (1 << D3DMRTYPE_DEPTHSTENCIL)
#define D3DMRTYPEFLAG_TEXTURE       (1 << D3DMRTYPE_TEXTURE)     
#define D3DMRTYPEFLAG_FRONTBUFFER   (1 << D3DMRTYPE_FRONTBUFFER)
#define D3DMRTYPEFLAG_BACKBUFFER    (1 << D3DMRTYPE_BACKBUFFER)
#define D3DMRTYPEFLAG_VERTEXBUFFER  (1 << D3DMRTYPE_VERTEXBUFFER)
#define D3DMRTYPEFLAG_INDEXBUFFER   (1 << D3DMRTYPE_INDEXBUFFER)

Remarks

The following table shows the individual D3DMRTYPEFLAG values.

Value Description

D3DMRTYPEFLAG_SURFACE

Indicates that the resource is a surface.

D3DMRTYPEFLAG_DEPTHSTENCIL

Indicates that the resource is a depth and stencil buffer.

D3DMRTYPEFLAG_TEXTURE

Indicates that the resource is a texture.

D3DMRTYPEFLAG_FRONTBUFFER

Indicates that the resource is a front buffer.

D3DMRTYPEFLAG_BACKBUFFER

Indicates that the resource is a back buffer.

D3DMRTYPEFLAG_VERTEXBUFFER

Indicates that the resource is a vertex buffer.

D3DMRTYPEFLAG_INDEXBUFFER

Indicates that the resource is an index buffer.

Requirements

Header d3dmddk.h
Windows Embedded CE Windows CE 5.0

See Also

Reference

Direct3D Mobile Driver Macros
D3DMDEVICEFORMAT