GtfDdsSharp GtfDdsSharp
GtfDdsSharp GtfDdsSharp
DocFX + Singulink = ♥

Search Results for

    Class TextureConversion

    Provides static methods to convert memory from GTF to DDS or vice versa using a layout buffer.

    Inheritance
    object
    TextureConversion
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: GtfDdsSharp
    Assembly: GtfDdsSharp.dll
    Syntax
    public static class TextureConversion

    Methods

    Name Description
    ConvertBufferByLayout(byte*, uint, byte*, uint, Layout[], in GtfTextureInfo, bool)

    Converts the specified memory from GTF to DDS or vice versa using the given layout buffer and GTF texture.

    ConvertLayoutBuffer(Layout[], in GtfTextureInfo, in DdsHeader)

    Initializes the specified layout buffer using the given GTF texture and DDS file header.

    CreateLayoutBuffer(in GtfTextureInfo, in DdsHeader, out uint, out uint)

    Creates a layout buffer using the specified GTF texture and DDS file header.