Stride

OPEN / CLOSE
  • Features
  • Blog
  • Documentation
  • Community
(icon) Download

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

OPEN / CLOSE
  • English
  • 日本語
    Show / Hide Table of Contents

    IComputeColor Interface

    Namespace: Stride.Rendering.Materials
    Assembly: Stride.Rendering.dll

    Base interface for vector/color based compute color nodes.

    public interface IComputeColor : IComputeNode
    Name Description
    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.

    | Improve this Doc View Source

    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.

    bool HasChanged { get; }
    Property Value
    Type Description
    System.Boolean

    Inherited Members

    IComputeNode.GetChildren(Object)
    IComputeNode.GenerateShaderSource(ShaderGeneratorContext, MaterialComputeColorKeys)

    Extension Methods

    ComponentBaseExtensions.DisposeBy<T>(T, ICollectorHolder)
    ComponentBaseExtensions.RemoveDisposeBy<T>(T, ICollectorHolder)
    • Improve this Doc
    • View Source
    In This Article

    Back to top

    Copyright © 2019-2021 .NET Foundation and Contributors
    Supported by the .NET Foundation