Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    ComputeColorParameters Class

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

    A custom dictionary to keep track of the order the elements were inserted.

    System.Object → ComputeColorParameters
    Derived from ComputeColorParameters:

    [DataSerializer(typeof(ComputeColorParameters.Serializer))]
    [DataContract("ComputeColorParameters")]
    public class ComputeColorParameters : IDictionary<string, IComputeColorParameter>, ICollection<KeyValuePair<string, IComputeColorParameter>>, IEnumerable<KeyValuePair<string, IComputeColorParameter>>, IEnumerable
    Name Description
    Constructors
    ComputeColorParameters()
    Properties
    Count
    IsReadOnly
    Item[String]
    Keys
    Values
    Methods
    Add(KeyValuePair<String, IComputeColorParameter>)
    Add(String, IComputeColorParameter)
    Clear()
    Contains(KeyValuePair<String, IComputeColorParameter>)
    ContainsKey(String)
    CopyTo(KeyValuePair<String, IComputeColorParameter>[], Int32)
    GetEnumerator()
    Remove(KeyValuePair<String, IComputeColorParameter>)
    Remove(String)
    TryGetValue(String, out IComputeColorParameter)
    Explicit Interface Implementations
    IEnumerable.GetEnumerator()
    | Improve this Doc View Source

    Constructors


    ComputeColorParameters()

    public ComputeColorParameters()
    | Improve this Doc View Source

    Properties


    Count

    public int Count { get; }
    Property Value
    Type Description
    System.Int32

    IsReadOnly

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

    Item[String]

    public IComputeColorParameter this[string key] { get; set; }
    Parameters
    Type Name Description
    System.String key
    Property Value
    Type Description
    IComputeColorParameter

    Keys

    public ICollection<string> Keys { get; }
    Property Value
    Type Description
    System.Collections.Generic.ICollection<System.String>

    Values

    public ICollection<IComputeColorParameter> Values { get; }
    Property Value
    Type Description
    System.Collections.Generic.ICollection<IComputeColorParameter>
    | Improve this Doc View Source

    Methods


    Add(KeyValuePair<String, IComputeColorParameter>)

    public void Add(KeyValuePair<string, IComputeColorParameter> item)
    Parameters
    Type Name Description
    System.Collections.Generic.KeyValuePair<System.String, IComputeColorParameter> item

    Add(String, IComputeColorParameter)

    public void Add(string key, IComputeColorParameter value)
    Parameters
    Type Name Description
    System.String key
    IComputeColorParameter value

    Clear()

    public void Clear()

    Contains(KeyValuePair<String, IComputeColorParameter>)

    public bool Contains(KeyValuePair<string, IComputeColorParameter> item)
    Parameters
    Type Name Description
    System.Collections.Generic.KeyValuePair<System.String, IComputeColorParameter> item
    Returns
    Type Description
    System.Boolean

    ContainsKey(String)

    public bool ContainsKey(string key)
    Parameters
    Type Name Description
    System.String key
    Returns
    Type Description
    System.Boolean

    CopyTo(KeyValuePair<String, IComputeColorParameter>[], Int32)

    public void CopyTo(KeyValuePair<string, IComputeColorParameter>[] array, int arrayIndex)
    Parameters
    Type Name Description
    System.Collections.Generic.KeyValuePair<System.String, IComputeColorParameter>[] array
    System.Int32 arrayIndex

    GetEnumerator()

    public IEnumerator<KeyValuePair<string, IComputeColorParameter>> GetEnumerator()
    Returns
    Type Description
    System.Collections.Generic.IEnumerator<System.Collections.Generic.KeyValuePair<System.String, IComputeColorParameter>>

    Remove(KeyValuePair<String, IComputeColorParameter>)

    public bool Remove(KeyValuePair<string, IComputeColorParameter> item)
    Parameters
    Type Name Description
    System.Collections.Generic.KeyValuePair<System.String, IComputeColorParameter> item
    Returns
    Type Description
    System.Boolean

    Remove(String)

    public bool Remove(string key)
    Parameters
    Type Name Description
    System.String key
    Returns
    Type Description
    System.Boolean

    TryGetValue(String, out IComputeColorParameter)

    public bool TryGetValue(string key, out IComputeColorParameter value)
    Parameters
    Type Name Description
    System.String key
    IComputeColorParameter value
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    Explicit Interface Implementations


    IEnumerable.GetEnumerator()

    IEnumerator IEnumerable.GetEnumerator()
    Returns
    Type Description
    System.Collections.IEnumerator

    Extension Methods

    ComponentBaseExtensions.DisposeBy<T>(T, ICollectorHolder)
    ComponentBaseExtensions.RemoveDisposeBy<T>(T, ICollectorHolder)
    ArrayExtensions.ComputeHash<T>(ICollection<T>, IEqualityComparer<T>)
    EnumerableExtensions.IsNullOrEmpty(IEnumerable)
    EnumerableExtensions.ForEach<T>(IEnumerable, Action<T>)
    EnumerableExtensions.ForEach<T>(IEnumerable<T>, Action<T>)
    EnumerableExtensions.IndexOf<T>(IEnumerable<T>, Func<T, Boolean>)
    EnumerableExtensions.LastIndexOf<T>(IEnumerable<T>, Func<T, Boolean>)
    • Improve this Doc
    • View Source
    In This Article

    Back to top

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