![]() |
Ultralight C API 1.4.0
|
#include <Ultralight/CAPI/CAPI_Surface.h>
User-defined surface interface.
You should implement each of these callbacks, then pass an instance of this struct containing your callbacks to ulPlatformSetSurfaceDefinition().
| ULSurfaceDefinitionGetHeightCallback get_height |
| ULSurfaceDefinitionGetRowBytesCallback get_row_bytes |
| ULSurfaceDefinitionGetSizeCallback get_size |
| ULSurfaceDefinitionGetWidthCallback get_width |
| ULSurfaceDefinitionLockPixelsCallback lock_pixels |
| ULSurfaceDefinitionUnlockPixelsCallback unlock_pixels |