Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

ID3D10EffectVariable::AsDepthStencilView method (d3d10effect.h)

Get a depth-stencil-view variable.

Syntax

ID3D10EffectDepthStencilViewVariable * AsDepthStencilView();

Return value

Type: ID3D10EffectDepthStencilViewVariable*

A pointer to a depth-stencil-view variable. See ID3D10EffectDepthStencilViewVariable Interface.

Remarks

This method returns a version of the effect variable that has been specialized to a depth-stencil-view variable. Similar to a cast, this specialization will return an invalid object if the effect variable does not contain depth-stencil-view data.

Applications can test the returned object for validity by calling IsValid.

Requirements

Requirement Value
Target Platform Windows
Header d3d10effect.h

See also

ID3D10EffectVariable Interface


Feedback

Was this page helpful?

Additional resources