gpu
gpu copied to clipboard
🔭 cross platform general purpose GPU library - optimized for rendering
```C // 1. gpu_frontface(rce, GPUWindingCounterClockwise); gpu_cullmode(rce, GPUCullModeBack); gpu_renderstate(rce, renderState); gpu_depthstencil(rce, depthStencilState); // 2. GPUFrontFace(rce, GPUWindingCounterClockwise); GPUCullMode(rce, GPUCullModeBack); GPURenderState(rce, renderState); GPUDepthStencil(rce, depthStencilState); // 3. gpuFrontFace(rce, GPUWindingCounterClockwise); gpuCullMode(rce, GPUCullModeBack); gpuRenderState(rce, renderState); gpuDepthStencil(rce,...
Currently APIs are individual call Maybe we can also provide structs to reduce func calls for instance ```C GPUSetFrontFace(rce, GPUWindingCounterClockwise); GPUSetCullMode(rce, GPUCullModeBack); GPUSetRenderState(rce, renderState); GPUSetDepthStencil(rce, depthStencilState); GPUSetVertexBuffer(rce, dynamicUniformBuffer, uniformBufferOffset, BufferIndexUniforms);...