ID3D10EffectVariable::AsDepthStencil method (d3d10effect.h)
Get a depth-stencil variable.
Syntax
ID3D10EffectDepthStencilVariable * AsDepthStencil();
Return value
Type: ID3D10EffectDepthStencilVariable*
A pointer to a depth-stencil variable. See ID3D10EffectDepthStencilVariable.
Remarks
AsDepthStencil returns a version of the effect variable that has been specialized to a depth-stencil variable. Similar to a cast, this specialization will return an invalid object if the effect variable does not contain depth-stencil data.
Applications can test the returned object for validity by calling IsValid.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | d3d10effect.h |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for