Search Results for

    Show / Hide Table of Contents

    Struct SamplerLink

    This struct represents a sampler link.

    Namespace: Evergine.Framework.Assets.AssetParts
    Assembly: Evergine.Framework.dll
    Syntax
    public struct SamplerLink

    Constructors

    SamplerLink(Guid, string)

    Initializes a new instance of the SamplerLink struct.

    Declaration
    public SamplerLink(Guid id, string name)
    Parameters
    Type Name Description
    Guid id

    Sampler ID.

    string name

    Sampler link name.

    Fields

    ID

    The sampler ID.

    Declaration
    public Guid ID
    Field Value
    Type Description
    Guid

    Name

    The name of the sampler.

    Declaration
    public string Name
    Field Value
    Type Description
    string

    Methods

    Read(BinaryReader)

    Reads this asset part.

    Declaration
    public static SamplerLink Read(BinaryReader reader)
    Parameters
    Type Name Description
    BinaryReader reader

    The binary reader.

    Returns
    Type Description
    SamplerLink

    The loaded asset part.

    Write(BinaryWriter)

    Writes this sampler.

    Declaration
    public void Write(BinaryWriter writer)
    Parameters
    Type Name Description
    BinaryWriter writer

    The binary writer.

    Extension Methods

    ReflectionHelper.GetMemberAssembly(object)
    ReflectionHelper.GetTypeName(object)
    In this article
    Back to top
    Generated by DocFX