Package com.ms.com.directX |
![]() Previous |
![]() Microsoft Packages |
![]() Index |
![]() Next |
public interface ILoadTextureCallback extends IUnknown { public d3drmTexture callbackLoadTexture(String text_name, IUnknown pArgs); }
Use with methods, such as d3drm.LoadFromFileByPos, to set the callback function to be called when loading a texture.
See also d3drm, d3drmAnimation, d3drmFrame, and d3drmMeshBuilder.
public d3drmTexture callbackLoadTexture(String text_name, IUnknown pArgs);Loads texture maps from a file. This callback function is application-defined.
Return Value:
Returns the d3drmTexture object if successful; null otherwise.
Parameter Description tex_name The name of the texture. pArgs Application-specific data. Remarks:
Applications can use this callback function to implement support for textures that are not in the 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.