StencilCaps Structure

Language:

Contains flags that specify supported stencil-buffer operations.

Definition

Visual Basic Public Structure StencilCaps
C# public struct StencilCaps 
C++ public value class StencilCaps sealed 
JScript In JScript, you can use structures, but you cannot define your own.

Members Table

Method Description
ToString Obtains a string representation of the current instance.
Property Description
SupportsDecrement Specifies whether the stencil buffer entry can be decremented, wrapping to the maximum value if the new value is less than zero.
SupportsDecrementSaturation Specifies whether the stencil buffer entry can be decremented, clamping to zero.
SupportsIncrement Specifies whether the stencil buffer entry can be incremented, wrapping to zero if the new value exceeds the maximum value.
SupportsIncrementSaturation Specifies whether the stencil buffer entry can be incremented, clamping to the maximum value.
SupportsInvert Specifies whether the bits in the stencil buffer entry can be inverted.
SupportsKeep Specifies whether to keep the stencil buffer entry unmodified or allow it to be updated.
SupportsReplace Specifies whether to replace the stencil buffer entry with a reference value.
SupportsTwoSided Specifies whether the device supports two-sided stenciling.
SupportsZero Specifies whether the device supports setting the stencil buffer entry to 0.

Structure Information

Namespace Microsoft.DirectX.Direct3D
Assembly Microsoft.DirectX.Direct3D (microsoft.directx.direct3d.dll)
Strong Name Microsoft.DirectX.Direct3D,  Version=1.0.900.0,  Culture=neutral,  PublicKeyToken=d3231b57b74a1492

Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center