GtfDdsSharp GtfDdsSharp
GtfDdsSharp GtfDdsSharp
DocFX + Singulink = ♥

Search Results for

    Method ConvertToGtf

    ConvertToGtf()

    Converts the DDS images to a GTF file and writes it to a byte array.

    Declaration
    public byte[] ConvertToGtf()
    Returns
    Type Description
    byte[]

    A byte array containing the GTF file.

    ConvertToGtf(string)

    Converts the DDS images to a packed GTF file and writes it to the specified file.

    Declaration
    public void ConvertToGtf(string path)
    Parameters
    Type Name Description
    string path

    The file to write the GTF file to.

    ConvertToGtf(Stream)

    Converts the DDS images to a packed GTF file and writes it to the specified stream.

    Declaration
    public void ConvertToGtf(Stream stream)
    Parameters
    Type Name Description
    Stream stream

    The stream to write the GTF file to.

    ConvertToGtf(byte[])

    Converts the DDS images to a packed GTF file and writes it to the specified array.

    Declaration
    public void ConvertToGtf(byte[] buffer)
    Parameters
    Type Name Description
    byte[] buffer

    The array to write the GTF file to.

    ConvertToGtf(byte[], int, int)

    Converts the DDS images to a packed GTF file and writes it to the specified array region.

    Declaration
    public void ConvertToGtf(byte[] buffer, int offset, int count)
    Parameters
    Type Name Description
    byte[] buffer

    The array to write the GTF file to.

    int offset

    The zero-based byte offset at which to write bytes.

    int count

    The maximum number of bytes to write.

    ConvertToGtf(Span<byte>)

    Converts the DDS images to a packed GTF file and writes it to the specified region of memory.

    Declaration
    public void ConvertToGtf(Span<byte> buffer)
    Parameters
    Type Name Description
    Span<byte> buffer

    The region of memory to write the GTF file to.

    ConvertToGtf(nint, uint)

    Converts the DDS images to a packed GTF file and writes it to the specified memory address.

    Declaration
    public void ConvertToGtf(nint pointer, uint length)
    Parameters
    Type Name Description
    nint pointer

    The pointer to write the GTF file to.

    uint length

    The maximum number of bytes to write.

    ConvertToGtf(byte*, uint)

    Converts the DDS images to a packed GTF file and writes it to the specified memory address.

    Declaration
    public void ConvertToGtf(byte* pointer, uint length)
    Parameters
    Type Name Description
    byte* pointer

    The pointer to write the GTF file to.

    uint length

    The maximum number of bytes to write.