Documentation ¶
Overview ¶
Package texture handles Stunt GP texture conversion
Index ¶
Constants ¶
View Source
const ( FIncorrect = iota // we”ll default to FPC // TODO check PS2/prototype versions for this FUnknown // we don't have any examples of these textures at all FPaletted // paletted images used by PS2 FPC // Windows version FDreamcast // Dreamcast swizzled textures FPSTwo // PS2 textures with swapped R B channels )
TODO there's gotta be a better way
View Source
const FormatName = "stuntGP"
FormatName is the name of the registered texture format
Variables ¶
This section is empty.
Functions ¶
func DecodeConfig ¶
DecodeConfig returns the color model and dimensions of a Stunt GP texture without decoding the entire image.
Types ¶
type FormatError ¶
type FormatError string
A FormatError reports that the input is not a valid StuntGP texture.
func (FormatError) Error ¶
func (e FormatError) Error() string
Click to show internal directories.
Click to hide internal directories.