Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    ObjectParameterKey<T> Class

    Namespace: Stride.Rendering
    Assembly: Stride.dll

    An object (or boxed value) effect key, usually for use by shaders (.sdsl).

    System.Object → PropertyKey → ParameterKey → ParameterKey<T> → ObjectParameterKey<T>
    Derived from ObjectParameterKey<T>:

    [DataSerializer(typeof(ObjectParameterKeySerializer<>), Mode = DataSerializerGenericMode.GenericArguments)]
    public sealed class ObjectParameterKey<T> : ParameterKey<T>, IComparable
    Type Parameters
    Name Description
    T

    Type of the parameter key.

    Name Description
    Constructors
    ObjectParameterKey(String, Int32, PropertyKeyMetadata)
    ObjectParameterKey(String, Int32, PropertyKeyMetadata[])
    | Improve this Doc View Source

    Constructors


    ObjectParameterKey(String, Int32, PropertyKeyMetadata)

    public ObjectParameterKey(string name, int length, PropertyKeyMetadata metadata)
    Parameters
    Type Name Description
    System.String name
    System.Int32 length
    PropertyKeyMetadata metadata

    ObjectParameterKey(String, Int32, PropertyKeyMetadata[])

    public ObjectParameterKey(string name, int length = 1, params PropertyKeyMetadata[] metadatas)
    Parameters
    Type Name Description
    System.String name
    System.Int32 length
    PropertyKeyMetadata[] metadatas

    Inherited Members

    ParameterKey<T>.IsValueType
    ParameterKey<T>.DefaultValueMetadataT
    ParameterKey<T>.Size
    ParameterKey<T>.ToString()
    ParameterKey<T>.SetupMetadata(PropertyKeyMetadata)
    ParameterKey.HashCode
    ParameterKey.DefaultValueMetadata
    ParameterKey.Length
    ParameterKey.Type
    ParameterKey.Equals(Object)
    ParameterKey.GetHashCode()
    ParameterKey.ConvertValue(Object)
    PropertyKey.Name
    PropertyKey.Metadatas
    PropertyKey.OwnerType
    PropertyKey.PropertyType
    PropertyKey.CompareTo(Object)
    PropertyKey.SetupMetadatas()

    Extension Methods

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

    Back to top

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