This method of the IEnumTextureFormatsCallback Interface is a prototype definition for the callback function to enumerate texture formats.
public void callbackEnumTextureFormats(DDSurfaceDesc surfDesc, IUnknown userArg);
surfDesc | A DDSurfaceDesc object containing the texture information. |
userArg | An application-defined data passed to this callback function. |
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.