![]() |
Paradox Game Engine
v1.0.0 beta06
|
#include "directxtexp.h"Go to the source code of this file.
Classes | |
| struct | TGA_HEADER |
| struct | TGA_FOOTER |
| struct | TGA_EXTENSION |
Namespaces | |
| DirectX | |
Enumerations | |
| enum | TGAImageType { TGA_NO_IMAGE = 0, TGA_COLOR_MAPPED = 1, TGA_TRUECOLOR = 2, TGA_BLACK_AND_WHITE = 3, TGA_COLOR_MAPPED_RLE = 9, TGA_TRUECOLOR_RLE = 10, TGA_BLACK_AND_WHITE_RLE = 11 } |
| enum | TGADescriptorFlags { TGA_FLAGS_INVERTX = 0x10, TGA_FLAGS_INVERTY = 0x20, TGA_FLAGS_INTERLEAVED_2WAY = 0x40, TGA_FLAGS_INTERLEAVED_4WAY = 0x80 } |
| enum | CONVERSION_FLAGS { CONV_FLAGS_NONE = 0x0, CONV_FLAGS_EXPAND = 0x1, CONV_FLAGS_INVERTX = 0x2, CONV_FLAGS_INVERTY = 0x4, CONV_FLAGS_RLE = 0x8, CONV_FLAGS_SWIZZLE = 0x10000, CONV_FLAGS_888 = 0x20000 } |
Functions | |
| static HRESULT | DirectX::_DecodeTGAHeader (_In_reads_bytes_(size) LPCVOID pSource, size_t size, _Out_ TexMetadata &metadata, size_t &offset, _Inout_opt_ DWORD *convFlags) |
| static HRESULT | DirectX::_SetAlphaChannelToOpaque (_In_ const Image *image) |
| static HRESULT | DirectX::_UncompressPixels (_In_reads_bytes_(size) LPCVOID pSource, size_t size, _In_ const Image *image, _In_ DWORD convFlags) |
| static HRESULT | DirectX::_CopyPixels (_In_reads_bytes_(size) LPCVOID pSource, size_t size, _In_ const Image *image, _In_ DWORD convFlags) |
| static HRESULT | DirectX::_EncodeTGAHeader (_In_ const Image &image, _Out_ TGA_HEADER &header, _Inout_ DWORD &convFlags) |
| static void | DirectX::_Copy24bppScanline (_Out_writes_bytes_(outSize) LPVOID pDestination, _In_ size_t outSize, _In_reads_bytes_(inSize) LPCVOID pSource, _In_ size_t inSize) |
| _Use_decl_annotations_ HRESULT | DirectX::GetMetadataFromTGAMemory (LPCVOID pSource, size_t size, TexMetadata &metadata) |
| _Use_decl_annotations_ HRESULT | DirectX::GetMetadataFromTGAFile (LPCWSTR szFile, TexMetadata &metadata) |
| _Use_decl_annotations_ HRESULT | DirectX::LoadFromTGAMemory (LPCVOID pSource, size_t size, TexMetadata *metadata, ScratchImage &image) |
| _Use_decl_annotations_ HRESULT | DirectX::LoadFromTGAFile (LPCWSTR szFile, TexMetadata *metadata, ScratchImage &image) |
| _Use_decl_annotations_ HRESULT | DirectX::SaveToTGAMemory (const Image &image, Blob &blob) |
| _Use_decl_annotations_ HRESULT | DirectX::SaveToTGAFile (const Image &image, LPCWSTR szFile) |
Variables | |
| const char * | g_TGA20_Signature = "TRUEVISION-XFILE." |
| enum CONVERSION_FLAGS |
| Enumerator | |
|---|---|
| CONV_FLAGS_NONE | |
| CONV_FLAGS_EXPAND | |
| CONV_FLAGS_INVERTX | |
| CONV_FLAGS_INVERTY | |
| CONV_FLAGS_RLE | |
| CONV_FLAGS_SWIZZLE | |
| CONV_FLAGS_888 | |
Definition at line 101 of file DirectXTexTGA.cpp.
| enum TGADescriptorFlags |
| Enumerator | |
|---|---|
| TGA_FLAGS_INVERTX | |
| TGA_FLAGS_INVERTY | |
| TGA_FLAGS_INTERLEAVED_2WAY | |
| TGA_FLAGS_INTERLEAVED_4WAY | |
Definition at line 37 of file DirectXTexTGA.cpp.
| enum TGAImageType |
| Enumerator | |
|---|---|
| TGA_NO_IMAGE | |
| TGA_COLOR_MAPPED | |
| TGA_TRUECOLOR | |
| TGA_BLACK_AND_WHITE | |
| TGA_COLOR_MAPPED_RLE | |
| TGA_TRUECOLOR_RLE | |
| TGA_BLACK_AND_WHITE_RLE | |
Definition at line 26 of file DirectXTexTGA.cpp.
| const char* g_TGA20_Signature = "TRUEVISION-XFILE." |
Definition at line 45 of file DirectXTexTGA.cpp.