D3DXRTS_DESC
Describes a render surface.
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.
Requirements
Header: Declared in D3dx8core.h.
See Also
ID3DXRenderToSurface::GetDesc