Table of Contents

Class ValueParameterKey<T>

Namespace
Stride.Rendering
Assembly
Stride.dll

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
ValueParameterKey<T>
Implements
Inherited Members
Extension Methods

Constructors

ValueParameterKey(string, int, PropertyKeyMetadata)

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

Parameters

name string
length int
metadata PropertyKeyMetadata

ValueParameterKey(string, int, params PropertyKeyMetadata[])

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

Parameters

name string
length int
metadatas PropertyKeyMetadata[]