mirror of
https://github.com/microsoft/DirectXTex
synced 2024-11-24 13:20:13 +00:00
Updated TGA I O Functions (markdown)
parent
4a4df214f7
commit
6186abafa7
@ -22,8 +22,11 @@ Loads a ``.TGA`` file.
|
||||
Saves an image to a ``.TGA`` file.
|
||||
|
||||
* ``R8G8B8A8_UNORM``, ``R8G8B8A8_UNORM_SRGB``, ``B8G8R8A8_UNORM``, and ``B8G8R8A8_UNORM_SRGB`` data are written as a 32-bit truecolor uncompressed ``.TGA`` file
|
||||
|
||||
* ``B8G8R8X8_UNORM`` and ``B8G8R8X8_UNORM_SRGB`` data is written as a 24-bit truecolor uncompressed ``.TGA`` file
|
||||
|
||||
* ``B5G5R5A1_UNORM`` data is written as a 16-bit truecolor uncompressed ``.TGA`` file
|
||||
|
||||
* ``R8_UNORM`` and ``A8_UNORM`` data is written as an 8-bit uncompressed greyscale ``.TGA`` file
|
||||
|
||||
HRESULT SaveToTGAMemory( const Image& image, Blob& blob );
|
||||
|
Loading…
Reference in New Issue
Block a user