Truevision TGA pictures read into RGBA Cauldron3D.Textures: colour-mapped,
true-colour (24 or 32 bits) and greyscale, plain or run-length encoded, stored either
way up.
{:ok, texture} = Cauldron3D.Formats.Tga.parse(File.read!("gfx/env/desertup.tga"))
Summary
Functions
The picture in data.
Functions
@spec parse(binary()) :: {:ok, Cauldron3D.Texture.t()} | {:error, :not_a_tga}
The picture in data.