diff options
Diffstat (limited to 'dev/LibSCI/GPU.h')
| -rw-r--r-- | dev/LibSCI/GPU.h | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/dev/LibSCI/GPU.h b/dev/LibSCI/GPU.h index 2b0189e7..185c2c1f 100644 --- a/dev/LibSCI/GPU.h +++ b/dev/LibSCI/GPU.h @@ -12,14 +12,16 @@ Purpose: GFX System Calls. #include <SCI.h> -// ------------------------------------------------------------------------------------------ // -// GPU API. -// ------------------------------------------------------------------------------------------ // - -// ------------------------------------------------------------------------------------------ // -// @brief Command buffer structure type. -// ------------------------------------------------------------------------------------------ // -struct GPU_CMD_BUFFER final +struct GPUCmdBuffer; + +/// ------------------------------------------------------------------------------------------ // +/// @brief GPU API. +/// ------------------------------------------------------------------------------------------ // + +/// ------------------------------------------------------------------------------------------ // +/// @brief Command buffer structure type. +/// ------------------------------------------------------------------------------------------ // +struct GPUCmdBuffer final { SizeT X, Y, Z; VoidPtr FrameData; @@ -45,6 +47,6 @@ IMPORT_C GPUObject GPUNewFromDeviceName(_Input const Char* device_name); IMPORT_C SInt32 GPUDisposeDevice(GPUObject gpu_handle, Bool cancel_all, Bool flush_all); -IMPORT_C SInt32 GPUSendCmdBufferListWithCnt(GPU_CMD_BUFFER** cmd_list, SizeT cmd_list_cnt); +IMPORT_C SInt32 GPUSendCmdBufferListWithCnt(GPUCmdBuffer** cmd_list, SizeT cmd_list_cnt); #endif // ifndef SCIKIT_GPU_H |
