libdonut  2.3.2
Application framework for cross-platform game development in C++20
Public Attributes | List of all members
donut::graphics::ImageSaveTGAOptions Struct Reference

Options for saving an image in Truevision TARGA format. More...

#include <donut/graphics/Image.hpp>

Public Attributes

bool useRleCompression = true
 Use run-length encoding to compress the image. More...
 
bool flipVertically = false
 Flip the saved image vertically. More...
 

Detailed Description

Options for saving an image in Truevision TARGA format.

Member Data Documentation

◆ useRleCompression

bool donut::graphics::ImageSaveTGAOptions::useRleCompression = true

Use run-length encoding to compress the image.

This kind of compression works best for simple images with infrequent changes in color. The compression is lossless.

◆ flipVertically

bool donut::graphics::ImageSaveTGAOptions::flipVertically = false

Flip the saved image vertically.


The documentation for this struct was generated from the following file: