Search Results for

    Show / Hide Table of Contents

    Class TexDmpTexture

    Texture dump loader/writer.

    Inheritance
    object
    TexDmpTexture
    Namespace: Evergine.Assets.Extensions.TexDmp
    Assembly: Evergine.Assets.dll
    Syntax
    public class TexDmpTexture

    Fields

    Id

    Texture ID.

    Declaration
    public Guid Id
    Field Value
    Type Description
    Guid

    SamplerId

    The sampler state ID.

    Declaration
    public Guid? SamplerId
    Field Value
    Type Description
    Guid?

    SubResources

    The texture data for each subresource.

    Declaration
    public TexDmpDataBox[] SubResources
    Field Value
    Type Description
    TexDmpDataBox[]

    TextureDescription

    Describes the texture.

    Declaration
    public TextureDescription TextureDescription
    Field Value
    Type Description
    TextureDescription

    Methods

    Load(BinaryReader, bool)

    Loads the texture.

    Declaration
    public static TexDmpTexture Load(BinaryReader reader, bool onlyHeader)
    Parameters
    Type Name Description
    BinaryReader reader

    The binary reader.

    bool onlyHeader

    Indicates if only the header should be read.

    Returns
    Type Description
    TexDmpTexture

    The KTX texture.

    Write(GraphicsContext, BinaryWriter, Texture)

    Loads the texture.

    Declaration
    public static void Write(GraphicsContext graphicsContext, BinaryWriter writer, Texture texture)
    Parameters
    Type Name Description
    GraphicsContext graphicsContext

    The graphics context.

    BinaryWriter writer

    The binary writer.

    Texture texture

    The KTX texture.

    Extension Methods

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