6#include <webgpu/webgpu.h>
14class MetalComputeQueue {
26 WGPUTexture makeTexture(
const WGPUTextureDescriptor& desc);
27 bool shareTexture(
u32 id);
28 WGPUTexture bufferSurface(
u32 slot,
u32 width,
u32 height);
30 explicit MetalComputeQueue(std::unique_ptr<State> state);
31 std::unique_ptr<State> state_;
Backend-agnostic graphics enumerations.
std::uint32_t u32
Unsigned 32-bit integer.
One resource a compute dispatch binds, at @group(0) @binding(binding).