Table of Contents

Class ParameterKey<T>

Namespace
Stride.Rendering
Assembly
Stride.dll

Key of an gereric effect parameter.

public abstract class ParameterKey<T> : ParameterKey, IComparable

Type Parameters

T

Type of the parameter key.

Inheritance
ParameterKey<T>
Implements
Derived
Inherited Members
Extension Methods

Constructors

ParameterKey(ParameterKeyType, string, int, PropertyKeyMetadata)

Initializes a new instance of the ParameterKey<T> class.

protected ParameterKey(ParameterKeyType type, string name, int length, PropertyKeyMetadata metadata)

Parameters

type ParameterKeyType
name string

The name.

length int

The length.

metadata PropertyKeyMetadata

The metadata.

ParameterKey(ParameterKeyType, string, int, params PropertyKeyMetadata[])

Initializes a new instance of the ParameterKey<T> class.

protected ParameterKey(ParameterKeyType type, string name, int length = 1, params PropertyKeyMetadata[] metadatas)

Parameters

type ParameterKeyType
name string

The name.

length int

The length.

metadatas PropertyKeyMetadata[]

The metadatas.

Properties

DefaultValueMetadataT

public ParameterKeyValueMetadata<T> DefaultValueMetadataT { get; }

Property Value

ParameterKeyValueMetadata<T>

IsValueType

public override bool IsValueType { get; }

Property Value

bool

Size

public override int Size { get; }

Property Value

int

Methods

SetupMetadata(PropertyKeyMetadata)

protected override void SetupMetadata(PropertyKeyMetadata metadata)

Parameters

metadata PropertyKeyMetadata

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.