IPixEngine5::SaveTextureAsync method

Saves a texture.

Syntax

HRESULT SaveTextureAsync(
   UINT                  textureId,
   BSTR                  fileName,
   IPixEngine5Callbacks* callbacks,
   DWORD                 requestCookie,
   DWORD                 progressIntervalMsecs
);

Parameters

textureId
The ID of the texture to save.

fileName
A COM string containing the pathname of the saved texture.

callbacks
The address of an object that provides the IPixEngine5 callbacks interface.

requestCookie
A cookie that uniquely identifies the request, and can be used to signal for it to be cancelled.

progressIntervalMsecs
Not used.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Header

Vspixengine.h

See also

IPixEngine5