ValueParameterKey<T> Class
Namespace: Stride.RenderingAssembly: Stride.dll
A blittable value effect key, usually for use by shaders (.sdsl).
Derived from ValueParameterKey<T>:
[DataSerializer(typeof(ValueParameterKeySerializer<>), Mode = DataSerializerGenericMode.GenericArguments)]
public sealed class ValueParameterKey<T> : ParameterKey<T>, IComparable where T : struct
Type Parameters
Name | Description |
---|---|
T | Type of the parameter key. |
Name | Description | |
---|---|---|
Constructors | ||
ValueParameterKey(String, Int32, PropertyKeyMetadata) | ||
ValueParameterKey(String, Int32, PropertyKeyMetadata[]) |
Constructors
ValueParameterKey(String, Int32, PropertyKeyMetadata)
public ValueParameterKey(string name, int length, PropertyKeyMetadata metadata)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | |
System.Int32 | length | |
PropertyKeyMetadata | metadata |
ValueParameterKey(String, Int32, PropertyKeyMetadata[])
public ValueParameterKey(string name, int length = 1, params PropertyKeyMetadata[] metadatas)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | |
System.Int32 | length | |
PropertyKeyMetadata[] | metadatas |