struttura D3DXRTE_DESC
Descrive una destinazione di rendering fuori schermo usata da un'istanza di ID3DXRenderToEnvMap.
Sintassi
typedef struct D3DXRTE_DESC {
UINT Size;
UINT MipLevels;
D3DFORMAT Format;
BOOL DepthStencil;
D3DFORMAT DepthStencilFormat;
} D3DXRTE_DESC, *LPD3DXRTE_DESC;
Members
-
Dimensione
-
Tipo: UINT
-
Larghezza e altezza in pixel.
-
MipLevels
-
Tipo: UINT
-
Numero massimo di dettagli (LOD).
-
Formato
-
Tipo: D3DFORMAT
-
Formato del buffer dei colori.
-
DepthStencil
-
Tipo: BOOL
-
Indica se è necessario z-buffer.
-
DepthStencilFormat
-
Tipo: D3DFORMAT
-
Formato del buffer di profondità.
Commenti
Questo metodo viene usato per restituire i parametri di creazione utilizzati durante la creazione di un oggetto ID3DXRenderToEnvMap .
Requisiti
Requisito | Valore |
---|---|
Intestazione |
|
Vedi anche