DepthStencilStencilOpDescription Struct
Namespace: Stride.Graphics
Assembly: Stride.Graphics.dll
[DataContract]
public struct DepthStencilStencilOpDescription : IEquatable<DepthStencilStencilOpDescription>
|
Improve this Doc
View Source
Properties
StencilDepthBufferFail
Gets or sets the stencil operation to perform if the stencil test passes and the depth-test fails. The default is StencilOperation.Keep.
public StencilOperation StencilDepthBufferFail { get; set; }
Property Value
StencilFail
Gets or sets the stencil operation to perform if the stencil test fails. The default is StencilOperation.Keep.
public StencilOperation StencilFail { get; set; }
Property Value
StencilFunction
Gets or sets the comparison function for the stencil test. The default is CompareFunction.Always.
public CompareFunction StencilFunction { get; set; }
Property Value
StencilPass
Gets or sets the stencil operation to perform if the stencil test passes. The default is StencilOperation.Keep.
public StencilOperation StencilPass { get; set; }
Property Value
|
Improve this Doc
View Source
Methods
Equals(DepthStencilStencilOpDescription)
public bool Equals(DepthStencilStencilOpDescription other)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Equals(Object)
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
System.Object |
obj |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
System.ValueType.Equals(System.Object)
GetHashCode()
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Overrides
System.ValueType.GetHashCode()
|
Improve this Doc
View Source
Operators
Equality(DepthStencilStencilOpDescription, DepthStencilStencilOpDescription)
public static bool operator ==(DepthStencilStencilOpDescription left, DepthStencilStencilOpDescription right)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Inequality(DepthStencilStencilOpDescription, DepthStencilStencilOpDescription)
public static bool operator !=(DepthStencilStencilOpDescription left, DepthStencilStencilOpDescription right)
Parameters
Returns
Type |
Description |
System.Boolean |
|
System.ValueType.ToString()
Extension Methods