ParameterKeyValueMetadata<T> Class
Namespace: Stride.RenderingAssembly: Stride.dll
Metadata used for ParameterKey
Derived from ParameterKeyValueMetadata<T>:
public class ParameterKeyValueMetadata<T> : ParameterKeyValueMetadata
Type Parameters
Name | Description |
---|---|
T |
Name | Description | |
---|---|---|
Constructors | ||
ParameterKeyValueMetadata() | Initializes a new instance of the ParameterKeyValueMetadata class. |
|
ParameterKeyValueMetadata(T) | Initializes a new instance of the ParameterKeyValueMetadata class. |
|
Properties | ||
DefaultValue | Gets the default value. |
|
Methods | ||
GetDefaultValue() | ||
WriteBuffer(IntPtr, Int32) |
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
Type | Name | Description |
---|---|---|
T | defaultValue |
Properties
DefaultValue
Gets the default value.
public T DefaultValue { get; }
Property Value
Type | Description |
---|---|
T |
Methods
GetDefaultValue()
public override object GetDefaultValue()
Returns
Type | Description |
---|---|
System.Object |
Overrides
WriteBuffer(IntPtr, Int32)
public override bool WriteBuffer(IntPtr dest, int alignment = 1)
Parameters
Type | Name | Description |
---|---|---|
System.IntPtr | dest | |
System.Int32 | alignment |
Returns
Type | Description |
---|---|
System.Boolean |