Ultralight C API 1.4.0
|
#include <Ultralight/CAPI/CAPI_GPUDriver.h>
A command to execute on the GPU.
This structure describes a command to be executed on the GPU.
Commands are dispatched to the GPU driver asynchronously via ULGPUDriver::update_command_list, the GPU driver should consume these commands and execute them at an appropriate time.
Public Attributes | |
unsigned char | command_type |
The type of command to dispatch. | |
ULGPUState | gpu_state |
The current GPU state. | |
unsigned int | geometry_id |
The geometry ID to bind. (used with kCommandType_DrawGeometry) | |
unsigned int | indices_count |
The number of indices. (used with kCommandType_DrawGeometry) | |
unsigned int | indices_offset |
The index to start from. (used with kCommandType_DrawGeometry) | |
unsigned char command_type |
The type of command to dispatch.
unsigned int geometry_id |
The geometry ID to bind. (used with kCommandType_DrawGeometry)
ULGPUState gpu_state |
The current GPU state.
unsigned int indices_count |
The number of indices. (used with kCommandType_DrawGeometry)
unsigned int indices_offset |
The index to start from. (used with kCommandType_DrawGeometry)