The IEnumTextureFormatsCallback Interface of the com.ms.directX package is used with Direct3dDevice.enumTextureFormats to set the callback function to be called for each texture format for a device.
public interface IEnumTextureFormatsCallback extends IUnknown { // Methods public void callbackEnumTextureFormats(DDSurfaceDesc surfDesc, IUnknown userArg); }
IUnknown | +--IEnumTextureFormatsCallback