D3DXRTS_DESC structure

Describes a render surface.

Syntax


typedef struct D3DXRTS_DESC {
  UINT      Width;
  UINT      Height;
  D3DFORMAT Format;
  BOOL      DepthStencil;
  D3DFORMAT DepthStencilFormat;
} D3DXRTS_DESC, *LPD3DXRTS_DESC;

Members

Width

Type: UINT

Width of the render surface, in pixels.

Height

Type: UINT

Height of the render surface, in pixels.

Format

Type: D3DFORMAT

Member of the D3DFORMAT enumerated type, describing the pixel format of the render surface.

DepthStencil

Type: BOOL

If TRUE, the render surface supports a depth-stencil surface; otherwise this member is set to FALSE.

DepthStencilFormat

Type: D3DFORMAT

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

D3dx9core.h

See also

ID3DXRenderToSurface::GetDesc

 

 

Community Additions

ADD
Show:
© 2014 Microsoft