Saves one or more images in memory buffers to a .TGA file.
HRESULT SaveToTGAFile(
const Image &image,
LPCWSTR szFile
)
image
Type: Image
[in] Pointer to one or more Image structures in a memory buffer.
szFile
Type: LPCWSTR
[in] Source file.
Type: HRESULT
Header: Declared in directxtex.h.