/
class Geo TextureWriter
This is the documentation for Enlighten.
class Geo TextureWriter
class Geo::TextureWriter
Class that writes a 2D block of memory to disk as a texture file.
Enums
Name | Description |
---|---|
PixelFormat | Pixel format to use when writing data. |
Functions
Name | Description |
---|---|
WriteTga(IGeoStream &, s32, s32, const u32 *, PixelFormat, s32, bool) | Writes out as a 32 bit Tga file. Data is interpreted as PixelFormat. |
PixelFormat
public: enum PixelFormat
{
ARGB,
ABGR
}
Pixel format to use when writing data.
enumerators
ARGB | |
ABGR |
static bool Geo::TextureWriter::WriteTga
public: bool WriteTga
(
IGeoStream & stream,
s32 width,
s32 height,
const u32 * data,
PixelFormat format,
s32 pitch,
bool flipVertical
)
Writes out as a 32 bit Tga file. Data is interpreted as PixelFormat.
, multiple selections available,
Related content
class Geo TextureWriter
class Geo TextureWriter
More like this
class Geo TextureWriter
class Geo TextureWriter
More like this
class Geo GeoRGBXTexture
class Geo GeoRGBXTexture
More like this
class Geo GeoRGBXTexture
class Geo GeoRGBXTexture
More like this
class Geo GeoGenericTexture
class Geo GeoGenericTexture
More like this
class Geo GeoGenericTexture
class Geo GeoGenericTexture
More like this