Search Results for

    Show / Hide Table of Contents

    Class TextureInfoPart

    The texture information part.

    Inheritance
    object
    IdentifiableObject
    AssetPart
    TextureInfoPart
    Inherited Members
    IdentifiableObject.Id
    IdentifiableObject.IdHasChanged(Guid)
    Namespace: Evergine.Framework.Assets.AssetParts
    Assembly: Evergine.Framework.dll
    Syntax
    public class TextureInfoPart : AssetPart

    Constructors

    TextureInfoPart()

    Initializes a new instance of the TextureInfoPart class.

    Declaration
    public TextureInfoPart()

    Fields

    Description

    Describes the texture.

    Declaration
    public TextureDescription Description
    Field Value
    Type Description
    TextureDescription

    HasData

    Indicates whether this texture has data.

    Declaration
    public bool HasData
    Field Value
    Type Description
    bool

    SamplerID

    The sampler ID.

    Declaration
    public Guid SamplerID
    Field Value
    Type Description
    Guid

    Methods

    Read(BinaryReader)

    Reads this asset part.

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

    The binary reader.

    Returns
    Type Description
    TextureInfoPart

    The loaded asset part.

    Write(BinaryWriter)

    Writes the sub-asset.

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

    The stream.

    Overrides
    AssetPart.Write(BinaryWriter)

    Extension Methods

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