Stride

OPEN / CLOSE
  • Features
  • Blog
  • Documentation
  • Community
(icon) Download

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

OPEN / CLOSE
  • English
  • 日本語
    Show / Hide Table of Contents

    ParameterKeyValueMetadata<T> Class

    Namespace: Stride.Rendering
    Assembly: Stride.dll

    Metadata used for ParameterKey

    System.Object → PropertyKeyMetadata → ParameterKeyValueMetadata → ParameterKeyValueMetadata<T>
    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)
    | Improve this Doc View Source

    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
    | Improve this Doc View Source

    Properties


    DefaultValue

    Gets the default value.

    public T DefaultValue { get; }
    Property Value
    Type Description
    T
    | Improve this Doc View Source

    Methods


    GetDefaultValue()

    public override object GetDefaultValue()
    Returns
    Type Description
    System.Object
    Overrides
    ParameterKeyValueMetadata.GetDefaultValue()

    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
    Overrides
    ParameterKeyValueMetadata.WriteBuffer(IntPtr, Int32)

    Extension Methods

    ComponentBaseExtensions.DisposeBy<T>(T, ICollectorHolder)
    ComponentBaseExtensions.RemoveDisposeBy<T>(T, ICollectorHolder)
    • Improve this Doc
    • View Source
    In This Article

    Back to top

    Copyright © 2019-2021 .NET Foundation and Contributors
    Supported by the .NET Foundation