Microsoft SDK for Java

callbackLoadTexture

This method of the ILoadTextureCallback Interface loads texture maps from a file. This callback function is application-defined.

Syntax

public Direct3dRMTexture callbackLoadTexture(String text_name, IUnknown pArgs);

Return Value

Returns the Direct3dRMTexture object if successful; otherwise, returns null.

Parameters

text_name The name of the texture.
pArgs The application-specific data.

Remarks

Applications can use this callback function to implement support for textures that are not in the Microsoft® Windows® bitmap (.bmp) or Portable Pixmap (.ppm) P6 format.

When determining the order in which to call callback functions, the system searches the objects highest in the hierarchy first, and then calls their callback functions in the order in which they were created.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.