Struct StencilState
Assembly: UnityEngine.dll
Syntax
public struct StencilState
Constructors
|
Improve this Doc
View Source
StencilState(Boolean, Byte, Byte, CompareFunction, StencilOp, StencilOp, StencilOp)
Declaration
public StencilState(bool enabled = false, byte readMask = 255, byte writeMask = 255, CompareFunction compareFunction = CompareFunction.Always, StencilOp passOperation = StencilOp.Keep, StencilOp failOperation = StencilOp.Keep, StencilOp zFailOperation = StencilOp.Keep)
Parameters
|
Improve this Doc
View Source
StencilState(Boolean, Byte, Byte, CompareFunction, StencilOp, StencilOp, StencilOp, CompareFunction, StencilOp, StencilOp, StencilOp)
Declaration
public StencilState(bool enabled, byte readMask, byte writeMask, CompareFunction compareFunctionFront, StencilOp passOperationFront, StencilOp failOperationFront, StencilOp zFailOperationFront, CompareFunction compareFunctionBack, StencilOp passOperationBack, StencilOp failOperationBack, StencilOp zFailOperationBack)
Parameters
Properties
|
Improve this Doc
View Source
compareFunction
Declaration
public CompareFunction compareFunction { set; }
Property Value
|
Improve this Doc
View Source
compareFunctionBack
Declaration
public CompareFunction compareFunctionBack { get; set; }
Property Value
|
Improve this Doc
View Source
compareFunctionFront
Declaration
public CompareFunction compareFunctionFront { get; set; }
Property Value
|
Improve this Doc
View Source
Default
Declaration
public static StencilState Default { get; }
Property Value
|
Improve this Doc
View Source
enabled
Declaration
public bool enabled { get; set; }
Property Value
|
Improve this Doc
View Source
failOperation
Declaration
public StencilOp failOperation { set; }
Property Value
|
Improve this Doc
View Source
failOperationBack
Declaration
public StencilOp failOperationBack { get; set; }
Property Value
|
Improve this Doc
View Source
failOperationFront
Declaration
public StencilOp failOperationFront { get; set; }
Property Value
|
Improve this Doc
View Source
passOperation
Declaration
public StencilOp passOperation { set; }
Property Value
|
Improve this Doc
View Source
passOperationBack
Declaration
public StencilOp passOperationBack { get; set; }
Property Value
|
Improve this Doc
View Source
passOperationFront
Declaration
public StencilOp passOperationFront { get; set; }
Property Value
|
Improve this Doc
View Source
readMask
Declaration
public byte readMask { get; set; }
Property Value
|
Improve this Doc
View Source
writeMask
Declaration
public byte writeMask { get; set; }
Property Value
|
Improve this Doc
View Source
zFailOperation
Declaration
public StencilOp zFailOperation { set; }
Property Value
|
Improve this Doc
View Source
zFailOperationBack
Declaration
public StencilOp zFailOperationBack { get; set; }
Property Value
|
Improve this Doc
View Source
zFailOperationFront
Declaration
public StencilOp zFailOperationFront { get; set; }
Property Value
Extension Methods