ComputeBinaryColor Class
Namespace: Stride.Rendering.Materials.ComputeColorsAssembly: Stride.Rendering.dll
A node that describe a binary operation between two IComputeColor
Derived from ComputeBinaryColor:
[DataContract("ComputeBinaryColor")]
[Display("Binary Operator", null)]
public class ComputeBinaryColor : ComputeBinaryBase<IComputeColor>, IComputeColor, IComputeNode
Name | Description | |
---|---|---|
Constructors | ||
ComputeBinaryColor() | ||
ComputeBinaryColor(IComputeColor, IComputeColor, BinaryOperator) | ||
Properties | ||
HasChanged | Indicates if the IComputeColor has changed since the last time it was checked, which might require recompilation of the shader mixins. Once polled, it will reset all cached states and revert to false until other changes have been triggered. |
Constructors
ComputeBinaryColor()
public ComputeBinaryColor()
ComputeBinaryColor(IComputeColor, IComputeColor, BinaryOperator)
public ComputeBinaryColor(IComputeColor leftChild, IComputeColor rightChild, BinaryOperator binaryOperator)
Parameters
Type | Name | Description |
---|---|---|
IComputeColor | leftChild | |
IComputeColor | rightChild | |
BinaryOperator | binaryOperator |
Properties
HasChanged
Indicates if the IComputeColor has changed since the last time it was checked, which might require recompilation of the shader mixins. Once polled, it will reset all cached states and revert to false until other changes have been triggered.
public bool HasChanged { get; }
Property Value
Type | Description |
---|---|
System.Boolean |