D3DMSURFACE_DESC (Windows Embedded CE 6.0)
1/6/2010
This structure contains data to describe a surface.
Syntax
typedef struct _D3DMSURFACE_DESC {
D3DMFORMAT Format;
D3DMRESOURCETYPE Type;
ULONG Usage;
D3DMPOOL Pool;
UINT Size;
D3DMMULTISAMPLE_TYPE MultiSampleType;
UINT Width;
UINT Height;
} D3DMSURFACE_DESC;
Members
- Format
A D3DMFORMAT enumeration value describing the pixel format of the data in the surface.
- Type
A D3DMRESOURCETYPE enumeration value identifying the type of resource; in this case, D3DMRTYPE_SURFACE, a surface.
- Usage
A ULONG value representing a bit mask defining how the application should use the surface. These bits can be hints to the driver to allow it to optimize resource allocations best suited to the surface's use.
- Pool
A D3DMPOOL value identifying the memory pool that the surface is allocated from.
- Size
A UINT value representing the number of bytes allocated for the surface.
- MultiSampleType
A D3DMMULTISAMPLE_TYPE value indicating the type of multisampling used on this surface. You can enable multisampling for render targets, depth buffers, and stencil buffers. For all other surfaces, this value will be D3DMMULTISAMPLE_NONE.
- Width
A UINT value representing the width of the surface in pixels.
- Height
A UINT value representing the height of the surface in pixels.
Requirements
Header | d3dmtypes.h |
Windows Embedded CE | Windows CE 5.0 and later |