D3DXRTE_DESC structure

Describes an off-screen render target used by an instance of ID3DXRenderToEnvMap.

Syntax


typedef struct D3DXRTE_DESC {
  UINT      Size;
  UINT      MipLevels;
  D3DFORMAT Format;
  BOOL      DepthStencil;
  D3DFORMAT DepthStencilFormat;
} D3DXRTE_DESC, *LPD3DXRTE_DESC;

Members

Size

Type: UINT

Width and height in pixels.

MipLevels

Type: UINT

Maximum level of detail (LOD) number.

Format

Type: D3DFORMAT

Color buffer format.

DepthStencil

Type: BOOL

Indicates if the z-buffer is needed.

DepthStencilFormat

Type: D3DFORMAT

Format of the depth buffer.

Remarks

This method is used to return the creation parameters used when creating an ID3DXRenderToEnvMap object.

Requirements

Header

D3dx9core.h

See also

D3DX Structures

 

 

Show: