Search Results for

    Show / Hide Table of Contents

    Class KTXTexture

    https://www.khronos.org/opengles/sdk/tools/KTX/file_format_spec.

    Inheritance
    object
    KTXTexture
    Namespace: Evergine.Assets.Extensions.KTX
    Assembly: Evergine.Assets.dll
    Syntax
    public class KTXTexture

    Constructors

    KTXTexture(KTXHeader, KTXKeyValuePair[], KTXMipmapLevel[])

    Initializes a new instance of the KTXTexture class.

    Declaration
    public KTXTexture(KTXHeader header, KTXKeyValuePair[] keyValuePairs, KTXMipmapLevel[] mipmaps)
    Parameters
    Type Name Description
    KTXHeader header

    The KTX header.

    KTXKeyValuePair[] keyValuePairs

    The key-value pairs.

    KTXMipmapLevel[] mipmaps

    The mipmaps.

    Properties

    Header

    Gets the KTX header.

    Declaration
    public KTXHeader Header { get; }
    Property Value
    Type Description
    KTXHeader

    KeyValuePairs

    Gets the KTX key-value pairs.

    Declaration
    public KTXKeyValuePair[] KeyValuePairs { get; }
    Property Value
    Type Description
    KTXKeyValuePair[]

    Mipmaps

    Gets the KTX mipmaps.

    Declaration
    public KTXMipmapLevel[] Mipmaps { get; }
    Property Value
    Type Description
    KTXMipmapLevel[]

    Methods

    Load(BinaryReader, bool)

    Loads the texture.

    Declaration
    public static KTXTexture Load(BinaryReader reader, bool readKeyValuePairs)
    Parameters
    Type Name Description
    BinaryReader reader

    The binary reader.

    bool readKeyValuePairs

    The key-value pairs.

    Returns
    Type Description
    KTXTexture

    The KTX texture.

    Extension Methods

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