Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    ComputeShaderClassColor Class

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

    A shader outputing a color/vector value.

    System.Object → ComputeNode → ComputeShaderClassBase<IComputeColor> → ComputeShaderClassColor
    Derived from ComputeShaderClassColor:

    [DataContract("ComputeShaderClassColor")]
    [Display("Shader", null)]
    public class ComputeShaderClassColor : ComputeShaderClassBase<IComputeColor>, 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.

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

    Inherited Members

    ComputeShaderClassBase<IComputeColor>.MixinReference
    ComputeShaderClassBase<IComputeColor>.Generics
    ComputeShaderClassBase<IComputeColor>.CompositionNodes
    ComputeShaderClassBase<IComputeColor>.Members
    ComputeShaderClassBase<IComputeColor>.GetChildren(Object)
    ComputeShaderClassBase<IComputeColor>.GenerateShaderSource(ShaderGeneratorContext, MaterialComputeColorKeys)
    ComputeShaderClassBase<IComputeColor>.ToString()

    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