Represents handles + metadata for a reusable kernel on the GPU. The struct members can be divided into "consumed upon dispatch" (commandBuffer) and reusable ahead-of-time setup (all other members). More...
#include <gpu.h>
Public Attributes | |
std::unique_ptr< WGPUBuffer[]> | buffers |
std::unique_ptr< size_t[]> | bufferSizes |
size_t | numBindings |
Shape | nWorkgroups |
WGPUBindGroup | bindGroup |
WGPUComputePipeline | computePipeline |
WGPUCommandBuffer | commandBuffer |
Represents handles + metadata for a reusable kernel on the GPU. The struct members can be divided into "consumed upon dispatch" (commandBuffer) and reusable ahead-of-time setup (all other members).