Search Results for

    Show / Hide Table of Contents

    Class SamplerInfo

    Information about the sampler graphic resource.

    Inheritance
    object
    GraphicsResourceInfo
    SamplerInfo
    Inherited Members
    GraphicsResourceInfo.Name
    GraphicsResourceInfo.Type
    GraphicsResourceInfo.Slot
    GraphicsResourceInfo.Equals(GraphicsResourceInfo)
    GraphicsResourceInfo.Equals(object)
    GraphicsResourceInfo.GetHashCode()
    Namespace: Evergine.Framework.Graphics.Effects.Analyzer
    Assembly: Evergine.Framework.dll
    Syntax
    public class SamplerInfo : GraphicsResourceInfo

    Constructors

    SamplerInfo(string, int)

    Initializes a new instance of the SamplerInfo class.

    Declaration
    public SamplerInfo(string name, int slot)
    Parameters
    Type Name Description
    string name

    The name of the sampler.

    int slot

    The slot of the sampler.

    SamplerInfo(string, string)

    Initializes a new instance of the SamplerInfo class.

    Declaration
    public SamplerInfo(string name, string slot)
    Parameters
    Type Name Description
    string name

    The name of the sampler.

    string slot

    The slot of the sampler.

    Methods

    Read(BinaryReader)

    Reads a samplerInfo from a binary file.

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

    The binary reader.

    Returns
    Type Description
    SamplerInfo

    The read samplerInfo.

    Write(BinaryWriter)

    Writes a samplerInfo into a binary file.

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

    The binary writer.

    Overrides
    GraphicsResourceInfo.Write(BinaryWriter)

    Extension Methods

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