mirror of
https://github.com/microsoft/DirectXTex
synced 2024-11-21 20:10:05 +00:00
Updated TGA I O Functions (markdown)
parent
9f91621f17
commit
8772249a9a
@ -1,6 +1,6 @@
|
||||
The [Targa Truvision](http://en.wikipedia.org/wiki/Truevision_TGA) (``.TGA``) format is commonly used as a texture source file format in game development, but this format is not supported by any built-in WIC codec. These functions implement a simple reader and writer for this format.
|
||||
|
||||
#GetMetadataFromTGAMemory, GetMetadataFromTGAFile
|
||||
# GetMetadataFromTGAMemory, GetMetadataFromTGAFile
|
||||
Returns the _TexMetadata_ from a ``.TGA`` file.
|
||||
|
||||
HRESULT GetMetadataFromTGAMemory( const void* pSource, size_t size,
|
||||
@ -9,7 +9,7 @@ Returns the _TexMetadata_ from a ``.TGA`` file.
|
||||
HRESULT GetMetadataFromTGAFile( const wchar_t* szFile,
|
||||
TexMetadata& metadata );
|
||||
|
||||
#LoadFromTGAMemory, LoadFromTGAFile
|
||||
# LoadFromTGAMemory, LoadFromTGAFile
|
||||
Loads a ``.TGA`` file.
|
||||
|
||||
HRESULT LoadFromTGAMemory( const void* pSource, size_t size,
|
||||
@ -18,7 +18,7 @@ Loads a ``.TGA`` file.
|
||||
HRESULT LoadFromTGAFile( const wchar_t* szFile,
|
||||
TexMetadata* metadata, ScratchImage& image );
|
||||
|
||||
#SaveToTGAMemory, SaveToTGAFile
|
||||
# SaveToTGAMemory, SaveToTGAFile
|
||||
Saves an image to a ``.TGA`` file.
|
||||
|
||||
HRESULT SaveToTGAMemory( const Image& image, Blob& blob );
|
||||
|
Loading…
Reference in New Issue
Block a user