Gorgon
Show / Hide Table of Contents

Enum StencilOperation

Defines a type of operation to perform when masking using the stencil buffer.

Namespace: Gorgon.Graphics.Core
Assembly: Gorgon.Graphics.Core.dll
Syntax
public enum StencilOperation

Fields

Name Description
Decrement

Decrement the stencil value by 1, and wrap the result if necessary.

DecrementClamp

Decrement the stencil value by 1, and clamp the result.

Increment

Increment the stencil value by 1, and wrap the result if necessary.

IncrementClamp

Increment the stencil value by 1, and clamp the result.

Invert

Invert the stencil data.

Keep

Keep the existing stencil data.

Replace

Set the stencil data to the reference value set by calling ID3D11DeviceContext::OMSetDepthStencilState.

Zero

Set the stencil data to 0.

Extension Methods

GorgonNullExtensions.AsNullable<T>(object)
GorgonNullExtensions.IfNull<T>(object, T)
GorgonNullExtensions.IsNull(object)
  • Edit this page
  • View Source
In this article
Back to top Copyright 2023 - Licensed under the MIT license by Michael Winsor (Tape_Worm).
Send comments on this topic to the author