Ultralight C API 1.4.0
|
#include <Ultralight/CAPI/CAPI_GPUDriver.h>
User-defined GPU driver interface.
You should implement each of these callbacks, then pass an instance of this struct containing your callbacks to ulPlatformSetGPUDriver().
ULGPUDriverBeginSynchronizeCallback begin_synchronize |
ULGPUDriverCreateGeometryCallback create_geometry |
ULGPUDriverCreateRenderBufferCallback create_render_buffer |
ULGPUDriverCreateTextureCallback create_texture |
ULGPUDriverDestroyGeometryCallback destroy_geometry |
ULGPUDriverDestroyRenderBufferCallback destroy_render_buffer |
ULGPUDriverDestroyTextureCallback destroy_texture |
ULGPUDriverEndSynchronizeCallback end_synchronize |
ULGPUDriverNextGeometryIdCallback next_geometry_id |
ULGPUDriverNextRenderBufferIdCallback next_render_buffer_id |
ULGPUDriverNextTextureIdCallback next_texture_id |
ULGPUDriverUpdateCommandListCallback update_command_list |
ULGPUDriverUpdateGeometryCallback update_geometry |
ULGPUDriverUpdateTextureCallback update_texture |