Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    CompilerParameters Class

    Namespace: Stride.Shaders.Compiler
    Assembly: Stride.Shaders.dll

    Parameters used for compilation.

    System.Object → ParameterCollection → CompilerParameters
    Derived from CompilerParameters:

    [DataSerializer(typeof(DictionaryAllSerializer<CompilerParameters, ParameterKey, object>))]
    public sealed class CompilerParameters : ParameterCollection, IDictionary<ParameterKey, object>, ICollection<KeyValuePair<ParameterKey, object>>, IEnumerable<KeyValuePair<ParameterKey, object>>, IEnumerable
    Name Description
    Constructors
    CompilerParameters()

    Initializes a new instance of the CompilerParameters class.

    CompilerParameters(CompilerParameters)
    Fields
    EffectParameters
    Properties
    Count
    IsReadOnly
    Item[ParameterKey]
    Keys
    Values
    Methods
    Add(ParameterKey, Object)
    Add(KeyValuePair<ParameterKey, Object>)
    Contains(KeyValuePair<ParameterKey, Object>)
    CopyTo(KeyValuePair<ParameterKey, Object>[], Int32)
    GetEnumerator()
    Remove(KeyValuePair<ParameterKey, Object>)
    TryGetValue(ParameterKey, out Object)
    Explicit Interface Implementations
    IEnumerable.GetEnumerator()
    | Improve this Doc View Source

    Constructors


    CompilerParameters()

    Initializes a new instance of the CompilerParameters class.

    public CompilerParameters()

    CompilerParameters(CompilerParameters)

    public CompilerParameters(CompilerParameters compilerParameters)
    Parameters
    Type Name Description
    CompilerParameters compilerParameters
    | Improve this Doc View Source

    Fields


    EffectParameters

    public EffectCompilerParameters EffectParameters
    Field Value
    Type Description
    EffectCompilerParameters
    | 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[ParameterKey]

    public object this[ParameterKey key] { get; set; }
    Parameters
    Type Name Description
    ParameterKey key
    Property Value
    Type Description
    System.Object

    Keys

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

    Values

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

    Methods


    Add(ParameterKey, Object)

    public void Add(ParameterKey key, object value)
    Parameters
    Type Name Description
    ParameterKey key
    System.Object value

    Add(KeyValuePair<ParameterKey, Object>)

    public void Add(KeyValuePair<ParameterKey, object> item)
    Parameters
    Type Name Description
    System.Collections.Generic.KeyValuePair<ParameterKey, System.Object> item

    Contains(KeyValuePair<ParameterKey, Object>)

    public bool Contains(KeyValuePair<ParameterKey, object> item)
    Parameters
    Type Name Description
    System.Collections.Generic.KeyValuePair<ParameterKey, System.Object> item
    Returns
    Type Description
    System.Boolean

    CopyTo(KeyValuePair<ParameterKey, Object>[], Int32)

    public void CopyTo(KeyValuePair<ParameterKey, object>[] array, int arrayIndex)
    Parameters
    Type Name Description
    System.Collections.Generic.KeyValuePair<ParameterKey, System.Object>[] array
    System.Int32 arrayIndex

    GetEnumerator()

    public IEnumerator<KeyValuePair<ParameterKey, object>> GetEnumerator()
    Returns
    Type Description
    System.Collections.Generic.IEnumerator<System.Collections.Generic.KeyValuePair<ParameterKey, System.Object>>

    Remove(KeyValuePair<ParameterKey, Object>)

    public bool Remove(KeyValuePair<ParameterKey, object> item)
    Parameters
    Type Name Description
    System.Collections.Generic.KeyValuePair<ParameterKey, System.Object> item
    Returns
    Type Description
    System.Boolean

    TryGetValue(ParameterKey, out Object)

    public bool TryGetValue(ParameterKey key, out object value)
    Parameters
    Type Name Description
    ParameterKey key
    System.Object 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

    Inherited Members

    ParameterCollection.DataValues
    ParameterCollection.ObjectValues
    ParameterCollection.PermutationCounter
    ParameterCollection.LayoutCounter
    ParameterCollection.ParameterKeyInfos
    ParameterCollection.Layout
    ParameterCollection.HasLayout
    ParameterCollection.ToString()
    ParameterCollection.GetAccessor<T>(ObjectParameterKey<T>, Boolean)
    ParameterCollection.GetAccessor<T>(PermutationParameterKey<T>, Boolean)
    ParameterCollection.GetAccessor<T>(ValueParameterKey<T>, Int32)
    ParameterCollection.Set<T>(ObjectParameterKey<T>, T)
    ParameterCollection.Get<T>(ObjectParameterKey<T>, Boolean)
    ParameterCollection.Set<T>(PermutationParameterKey<T>, T)
    ParameterCollection.Get<T>(PermutationParameterKey<T>, Boolean)
    ParameterCollection.Set<T>(ValueParameterKey<T>, T)
    ParameterCollection.Set<T>(ValueParameterKey<T>, T)
    ParameterCollection.Set<T>(ValueParameterKey<T>, T[])
    ParameterCollection.Set<T>(ValueParameterKey<T>, Int32, T)
    ParameterCollection.Get<T>(ValueParameterKey<T>)
    ParameterCollection.GetValues<T>(ValueParameterKey<T>)
    ParameterCollection.CopyTo<T>(ValueParameterKey<T>, ParameterCollection, ValueParameterKey<T>)
    ParameterCollection.Set<T>(ValueParameter<T>, T)
    ParameterCollection.Set<T>(ValueParameter<T>, T)
    ParameterCollection.Set<T>(ValueParameter<T>, Int32, T)
    ParameterCollection.Set<T>(PermutationParameter<T>, T)
    ParameterCollection.Set<T>(ObjectParameterAccessor<T>, T)
    ParameterCollection.Get<T>(ValueParameter<T>)
    ParameterCollection.Get<T>(PermutationParameter<T>)
    ParameterCollection.Get<T>(ObjectParameterAccessor<T>)
    ParameterCollection.SetObject(ParameterKey, Object)
    ParameterCollection.GetObject(ParameterKey)
    ParameterCollection.Remove(ParameterKey)
    ParameterCollection.Clear()
    ParameterCollection.ContainsKey(ParameterKey)
    ParameterCollection.UpdateLayout(ParameterCollectionLayout)
    ParameterCollection.GetObjectParameterHelper(ParameterKey, Boolean)

    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