TGAFormatter

private struct TGAFormatter : LibGdImportableFormatter

Defines a formatter to be used on TGA import & export conversions

  • Function pointer to libgd’s built-in tga image create function

    Declaration

    Swift

    fileprivate let importFunction: (Int32, UnsafeMutableRawPointer) -> gdImagePtr?