Saves one or more images in memory buffers to a .DDS file image also in a memory buffer.
HRESULT SaveToDDSMemory(
const Image &image,
DWORD flags,
Blob &blob
)
image
Type: Image
[in] Pointer to one or more Image structures in a memory buffer.
flags
Type: DWORD
[in] One or more flags from the DDS_FLAGS enumeration.
blob
Type: Blob
[out] Pointer to a Blob class instance.
Type: HRESULT
Header: Declared in directxtex.h.