IPixEngine5::LoadTextureSliceAsync method
Loads a texture slice and notifies the host asynchrnously when it completes.
Syntax
HRESULT LoadTextureSliceAsync(
UINT textureId,
PixEngineTextureSliceIndex sliceIndex,
int formatOverride,
BSTR histogramDataFileName,
IPixEngine5Callbacks* callbacks,
DWORD requestCookie,
DWORD progressIntervalMsecs
);
Parameters
textureId
The ID of the texture to load the slice for.
sliceIndex
The index of the slice to load.
formatOverride
Specifies the format override.
histogramDataFileName
A COM string containing the name of the histogram data file associated with the texture slice.
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