Microsoft DirectX 9.0 SDK Update (October 2004)

StencilCaps Structure

Language:

Note: This documentation is preliminary and is subject to change.

Contains flags that specify supported stencil-buffer operations.

Definition

Visual Basic .NET Public Structure StencilCaps
C# public struct StencilCaps
Managed C++ public __value struct StencilCaps
JScript .NET In JScript .NET, 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.2902.0,  Culture=neutral,  PublicKeyToken=31bf3856ad364e35

© 2004 Microsoft Corporation. All rights reserved. Terms of use.

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