tess 1.0.0
Performance-first tile and path simulation substrate
Loading...
Searching...
No Matches
tess::gpu::WebGpuProductDesc Struct Reference

#include <tess/gpu/webgpu_backend.h>

Public Attributes

std::uint64_t product_key = 0
std::uint32_t input_field_index = 0
WGPUComputePipeline pipeline = nullptr
WGPUBindGroup bind_group = nullptr
WGPUBuffer readback_source = nullptr
std::uint64_t readback_source_offset = 0
std::uint64_t readback_byte_size = 0
WebGpuReadbackCallback readback_callback = nullptr
void * readback_userdata = nullptr

Detailed Description

Application-created algorithm resources registered under one product key.

Registration retains the pipeline, bind group, and optional readback source. The application may release its references immediately afterward. Shader, layout, and binding construction stay with the algorithm provider. A readback source must have WGPUBufferUsage_CopySrc. Without one, the readback size, offset, callback, and userdata must all remain zero/null. Readback callback userdata must remain valid until that callback runs.


The documentation for this struct was generated from the following file: