Share via


RenderStateManager.ReferenceStencil Property (Microsoft.DirectX.Direct3D)

Specifies a reference value to use for the stencil test.

Definition

Visual Basic Public Property ReferenceStencil As Integer
C# public int ReferenceStencil { get; set; }
C++ public:
property int ReferenceStencil {
        int get();
        void set(int value);
}
JScript public function get ReferenceStencil() : int
public function set ReferenceStencil(int);

Property Value

System.Int32
Integer that specifies the stencil test value to set or retrieve.

This property is read/write. 

Remarks

The default value is 0.