Table of Contents

Class ComputeBinaryColor

Namespace
Stride.Rendering.Materials.ComputeColors
Assembly
Stride.Rendering.dll

A node that describe a binary operation between two IComputeColor

[DataContract("ComputeBinaryColor")]
[Display("Binary Operator", null)]
public class ComputeBinaryColor : ComputeBinaryBase<IComputeColor>, IComputeColor, IComputeNode
Inheritance
ComputeBinaryColor
Implements
Inherited Members

Constructors

ComputeBinaryColor()

public ComputeBinaryColor()

ComputeBinaryColor(IComputeColor, IComputeColor, BinaryOperator)

public ComputeBinaryColor(IComputeColor leftChild, IComputeColor rightChild, BinaryOperator binaryOperator)

Parameters

leftChild IComputeColor
rightChild IComputeColor
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

bool