Metodo ID3DX11EffectDepthStencilViewVariable::SetDepthStencil
Impostare una risorsa di profondità-stencil-view.
Sintassi
HRESULT SetDepthStencil(
ID3D11DepthStencilView *pResource
);
Parametri
-
pResource
-
Tipo: ID3D11DepthStencilView*
Puntatore a un'interfaccia di visualizzazione a stencil di profondità. Vedere ID3D11DepthStencilView.
Valore restituito
Tipo: HRESULT
Restituisce uno dei codici restituiti Direct3D 11 seguenti.
Commenti
Nota
DirectX SDK non fornisce file binari compilati per gli effetti. È necessario usare l'origine Effetti 11 per compilare l'applicazione di tipo effetti. Per altre informazioni sull'uso dell'origine degli effetti 11, vedere Differenze tra effetti 10 ed effetti 11.
Requisiti
Requisito | Valore |
---|---|
Intestazione |
|
Libreria |
|