Returns the texture metadata from a file.
HRESULT GetMetadataFromTGAFile(
LPCWSTR szFile,
TexMetadata &metadata
)
szFile
Type: LPCWSTR
[in] Source file.
metadata
Type: TexMetadata
[out] Address of a TexMetadata structure.
Type: HRESULT
Header: Declared in directxtex.h.