IPixEngine5::FreeTextureAsync method

Frees a texture and notifies the host asynchronously.

Syntax

HRESULT FreeTextureAsync(
   UINT                  textureId,
   IPixEngine5Callbacks* callbacks,
   DWORD                 requestCookie,
   DWORD                 progressIntervalMsecs
);

Parameters

textureId
The ID of the texture to free..

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

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

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