HRESULT Resize(
const Image *srcImages,
size_t nimages,
const TexMetadata &metadata,
size_t width,
size_t height,
DWORD filter,
ScratchImage &result
)
srcImages
Type: Image *
[in] Pointer to one or more Image structures in a memory buffer.
nimages
Type: size_t
[in] Number of images.
metadata
Type: TexMetadata
[in] Address of a TexMetadata structure.
width
Type: size_t
[in] Desired width.
height
Type: size_t
[in] Desired height.
filter
Type: DWORD
[in] One or more flags from the TEX_FILTER_FLAGS enumeration.
result
Type: ScratchImage
[out] Pointer to a ScratchImage class instance.
Type: HRESULT
Note that if given a set of images, the result will always have mipLevels of 1.
Header: Declared in directxtex.h.