Search Results for

    Show / Hide Table of Contents

    Class TextureInfo

    Texture graphic resource information.

    Inheritance
    object
    GraphicsResourceInfo
    TextureInfo
    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 TextureInfo : GraphicsResourceInfo

    Constructors

    TextureInfo(string, int, TextureType, TextureSemantic, int)

    Initializes a new instance of the TextureInfo class.

    Declaration
    public TextureInfo(string name, int slot, TextureType textureType, TextureInfo.TextureSemantic semantic, int semanticIndex)
    Parameters
    Type Name Description
    string name

    Texture name.

    int slot

    Texture slot.

    TextureType textureType

    Texture type.

    TextureInfo.TextureSemantic semantic

    Texture semantic.

    int semanticIndex

    Texture semantic index.

    TextureInfo(string, string, string, string)

    Initializes a new instance of the TextureInfo class.

    Declaration
    public TextureInfo(string name, string textureType, string offset, string tag)
    Parameters
    Type Name Description
    string name

    Texture name.

    string textureType

    Texture type.

    string offset

    Texture offset.

    string tag

    Texture tag.

    Fields

    Semantic

    The texture semantics.

    Declaration
    public TextureInfo.TextureSemantic Semantic
    Field Value
    Type Description
    TextureInfo.TextureSemantic

    SemanticIndex

    The semantic index.

    Declaration
    public int SemanticIndex
    Field Value
    Type Description
    int

    TextureType

    Represents the texture type.

    Declaration
    public TextureType TextureType
    Field Value
    Type Description
    TextureType

    Methods

    Read(BinaryReader)

    Reads a samplerInfo from a binary file.

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

    The binary reader.

    Returns
    Type Description
    TextureInfo

    The read samplerInfo.

    Write(BinaryWriter)

    Writes 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)

    See Also

    GraphicsResourceInfo
    In this article
    Back to top
    Generated by DocFX