1
0
mirror of https://github.com/microsoft/DirectXTex synced 2024-11-22 04:20:07 +00:00

Updated TGA I O Functions (markdown)

Chuck Walbourn 2015-06-21 20:47:01 -07:00
parent 110b21c52b
commit 4a4df214f7

@ -7,12 +7,12 @@ Returns the _TexMetadata_ from a ``.TGA`` file.
TexMetadata& metadata ); TexMetadata& metadata );
HRESULT GetMetadataFromTGAFile( LPCWSTR szFile, HRESULT GetMetadataFromTGAFile( LPCWSTR szFile,
_Out_ TexMetadata& metadata ); TexMetadata& metadata );
#LoadFromTGAMemory, LoadFromTGAFile #LoadFromTGAMemory, LoadFromTGAFile
Loads a ``.TGA`` file. Loads a ``.TGA`` file.
HRESULT LoadFromTGAMemory( LPCVOID pSource, _In_ size_t size, HRESULT LoadFromTGAMemory( LPCVOID pSource, size_t size,
TexMetadata* metadata, ScratchImage& image ); TexMetadata* metadata, ScratchImage& image );
HRESULT LoadFromTGAFile( LPCWSTR szFile, HRESULT LoadFromTGAFile( LPCWSTR szFile,