Class ValueParameterKey<T>
A blittable value effect key, usually for use by shaders (.sdsl).
[DataSerializer(typeof(ValueParameterKeySerializer<>), Mode = DataSerializerGenericMode.GenericArguments)]
public sealed class ValueParameterKey<T> : ParameterKey<T>, IComparable where T : struct
Type Parameters
T
Type of the parameter key.
- Inheritance
-
ParameterKey<T>ValueParameterKey<T>
- Implements
- Inherited Members
- Extension Methods
Constructors
ValueParameterKey(string, int, PropertyKeyMetadata)
public ValueParameterKey(string name, int length, PropertyKeyMetadata metadata)
Parameters
name
stringlength
intmetadata
PropertyKeyMetadata
ValueParameterKey(string, int, params PropertyKeyMetadata[])
public ValueParameterKey(string name, int length = 1, params PropertyKeyMetadata[] metadatas)
Parameters
name
stringlength
intmetadatas
PropertyKeyMetadata[]