HRESULT LoadFromDDSFile(
LPCWSTR szFile,
DWORD flags,
TexMetadata *metadata,
ScratchImage &image
)
szFile
Type: LPCWSTR
[in] Source file.
flags
Type: DWORD
[in] One or more flags from the DDS_FLAGS enumeration.
metadata
Type: TexMetadata *
Pointer to a TexMetadata structure.
image
Type: ScratchImage
[out] Pointer to a ScratchImage class instance.
Type: HRESULT
Header: Declared in directxtex.h.