Partager via


ID3D10EffectTechnique::ComputeStateBlockMask, méthode (d3d10effect.h)

Calculez un masque de bloc d’état pour autoriser/empêcher les changements d’état.

Syntaxe

HRESULT ComputeStateBlockMask(
  [in] D3D10_STATE_BLOCK_MASK *pStateBlockMask
);

Paramètres

[in] pStateBlockMask

Type : D3D10_STATE_BLOCK_MASK*

Pointeur vers un masque de bloc d’état (voir D3D10_STATE_BLOCK_MASK).

Valeur retournée

Type : HRESULT

Renvoie l’un des codes de retour Direct3D 10 suivants.

Configuration requise

   
Plateforme cible Windows
En-tête d3d10effect.h

Voir aussi

ID3D10EffectTechnique Interface