Table of Contents

Class ObjectParameterKey<T>

Namespace
Stride.Rendering
Assembly
Stride.dll

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

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

Type Parameters

T

Type of the parameter key.

Inheritance
ObjectParameterKey<T>
Implements
Inherited Members
Extension Methods

Constructors

ObjectParameterKey(string, int, PropertyKeyMetadata)

public ObjectParameterKey(string name, int length, PropertyKeyMetadata metadata)

Parameters

name string
length int
metadata PropertyKeyMetadata

ObjectParameterKey(string, int, params PropertyKeyMetadata[])

public ObjectParameterKey(string name, int length = 1, params PropertyKeyMetadata[] metadatas)

Parameters

name string
length int
metadatas PropertyKeyMetadata[]