Loading...
Searching...
No Matches
ULSurfaceDefinition

#include <Ultralight/CAPI/CAPI_Surface.h>

Overview

User-defined surface interface.

You should implement each of these callbacks, then pass an instance of this struct containing your callbacks to ulPlatformSetSurfaceDefinition().

Public Attributes

ULSurfaceDefinitionCreateCallback create
 
ULSurfaceDefinitionDestroyCallback destroy
 
ULSurfaceDefinitionGetWidthCallback get_width
 
ULSurfaceDefinitionGetHeightCallback get_height
 
ULSurfaceDefinitionGetRowBytesCallback get_row_bytes
 
ULSurfaceDefinitionGetSizeCallback get_size
 
ULSurfaceDefinitionLockPixelsCallback lock_pixels
 
ULSurfaceDefinitionUnlockPixelsCallback unlock_pixels
 
ULSurfaceDefinitionResizeCallback resize
 

Member Data Documentation

◆ create

◆ destroy

◆ get_height

◆ get_row_bytes

◆ get_size

◆ get_width

◆ lock_pixels

◆ resize

◆ unlock_pixels


The documentation for this struct was generated from the following file: