?/TD>
Microsoft DirectX 9.0

D3DXRTS_DESC Structure


Describes a render surface.

Syntax

typedef struct _D3DXRTS_DESC {
    UINT Width;
    UINT Height;
    D3DFORMAT Format;
    BOOL DepthStencil;
    D3DFORMAT DepthStencilFormat;
} D3DXRTS_DESC;

Members

Width
Width of the render surface, in pixels.
Height
Height of the render surface, in pixels.
Format
Member of the D3DFORMAT enumerated type, describing the pixel format of the render surface.
DepthStencil
If TRUE, the render surface supports a depth-stencil surface; otherwise this member is set to FALSE.
DepthStencilFormat
If DepthStencil is set to TRUE, this parameter is a member of the D3DFORMAT enumerated type, describing the depth-stencil format of the render surface.

Structure Information

Headerd3dx9core.h
Minimum operating systems Windows 98

See Also

ID3DXRenderToSurface::GetDesc


© 2002 Microsoft Corporation. All rights reserved.