Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    ComputeValueBase<T> Class

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

    Base class for a constant value for ComputeNode.

    System.Object → ComputeNode → ComputeKeyedBase → ComputeValueBase<T>
    Derived from ComputeValueBase<T>: ComputeColor ComputeFloat ComputeFloat4

    [DataContract(Inherited = true)]
    public abstract class ComputeValueBase<T> : ComputeKeyedBase, IComputeNode
    Type Parameters
    Name Description
    T
    Name Description
    Constructors
    ComputeValueBase()

    Initializes a new instance of the ComputeValueBase<T> class.

    ComputeValueBase(T)

    Initializes a new instance of the ComputeValueBase<T> class.

    Properties
    Value

    The property to access the internal value

    | Improve this Doc View Source

    Constructors


    ComputeValueBase()

    Initializes a new instance of the ComputeValueBase<T> class.

    protected ComputeValueBase()

    ComputeValueBase(T)

    Initializes a new instance of the ComputeValueBase<T> class.

    protected ComputeValueBase(T value)
    Parameters
    Type Name Description
    T value

    The value.

    | Improve this Doc View Source

    Properties


    Value

    The property to access the internal value

    [DataMember(20)]
    public T Value { get; set; }
    Property Value
    Type Description
    T

    Inherited Members

    ComputeKeyedBase.Key
    ComputeKeyedBase.UsedKey
    ComputeNode.GetChildren(Object)
    ComputeNode.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