Table of Contents

Class ParameterKeyValueMetadata<T>

Namespace
Stride.Rendering
Assembly
Stride.dll

Metadata used for ParameterKey

public class ParameterKeyValueMetadata<T> : ParameterKeyValueMetadata

Type Parameters

T
Inheritance
ParameterKeyValueMetadata<T>

Constructors

ParameterKeyValueMetadata()

Initializes a new instance of the ParameterKeyValueMetadata class.

public ParameterKeyValueMetadata()

ParameterKeyValueMetadata(T)

Initializes a new instance of the ParameterKeyValueMetadata class.

public ParameterKeyValueMetadata(T defaultValue)

Parameters

defaultValue T

Properties

DefaultValue

Gets the default value.

public T DefaultValue { get; }

Property Value

T

Methods

GetDefaultValue()

public override object GetDefaultValue()

Returns

object

WriteBuffer(nint, int)

public override bool WriteBuffer(nint dest, int alignment = 1)

Parameters

dest nint
alignment int

Returns

bool