Class ObjectParameterKey<T>
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
-
ParameterKey<T>ObjectParameterKey<T>
- Implements
- Inherited Members
- Extension Methods
Constructors
ObjectParameterKey(string, int, PropertyKeyMetadata)
public ObjectParameterKey(string name, int length, PropertyKeyMetadata metadata)
Parameters
name
stringlength
intmetadata
PropertyKeyMetadata
ObjectParameterKey(string, int, params PropertyKeyMetadata[])
public ObjectParameterKey(string name, int length = 1, params PropertyKeyMetadata[] metadatas)
Parameters
name
stringlength
intmetadatas
PropertyKeyMetadata[]