Packages
 In this topic

*Methods

 

Packages   PreviousThis PackageNext
Package com.ms.directX   Previous This
Package
Next

 


Interface IEnumTextureFormatsCallback

public interface IEnumTextureFormatsCallback extends IUnknown
{
  // Methods
  public void callbackEnumTextureFormats(DDSurfaceDesc surfDesc,
        IUnknown userArg);
}

Use with Direct3dDevice.enumTextureFormats to set the callback function to be called for each texture format for a device.

IUnknown
  |
  +--IEnumTextureFormatsCallback

Methods

callbackEnumTextureFormats

public void callbackEnumTextureFormats(DDSurfaceDesc surfDesc,
        IUnknown userArg);

Prototype definition for the callback function to enumerate texture formats.

Return Value:

No return value.

ParameterDescription
surfDesc A DDSurfaceDesc object containing the texture information.
userArg An application-defined data passed to this callback function.

Remarks:

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.

upnrm.gif © 1998 Microsoft Corporation. All rights reserved. Terms of use.