ObjectParameterKey<T> Class
Namespace: Stride.RenderingAssembly: Stride.dll
An object (or boxed value) effect key, usually for use by shaders (.sdsl).
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[]) |
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 |