Package com.ms.com.directX |
![]() Previous |
![]() Microsoft Packages |
![]() Index |
![]() Next |
public interface IEnumTextureFormatsCallback extends IUnknown { public void callbackEnumTextureFormats(ddSurfaceDesc desc, IUnknown UserArg); }
Use with EnumTextureFormats to set the callback function to be called for each texture format for a device.
public void callbackEnumTextureFormats(ddSurfaceDesc desc, IUnknown UserArg);Prototype definition for the callback function to enumerate texture formats.
Return Value:
No return value.
Parameter Description desc A ddSurfaceDesc object containing the texture information. UserArg 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.