Condividi tramite


D3DXRTS_DESC struttura

Descrive una superficie di rendering.

Sintassi

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

Members

Width

Tipo: UINT

Larghezza della superficie di rendering, in pixel.

Altezza

Tipo: UINT

Altezza della superficie di rendering, in pixel.

Formato

Tipo: D3DFORMAT

Membro del tipo enumerato D3DFORMAT , che descrive il formato pixel della superficie di rendering.

DepthStencil

Tipo: BOOL

Se TRUE, la superficie di rendering supporta una superficie a stencil di profondità; in caso contrario, questo membro è impostato su FALSE.

DepthStencilFormat

Tipo: D3DFORMAT

Se DepthStencil è impostato su TRUE, questo parametro è un membro del tipo enumerato D3DFORMAT , che descrive il formato profondità-stencil della superficie di rendering.

Requisiti

Requisito Valore
Intestazione
D3dx9core.h

Vedi anche

Strutture D3DX

ID3DXRenderToSurface::GetDesc