MCPcopy Create free account
hub / github.com/Twinklebear/webgpu-marching-cubes / constructor

Method constructor

src/stream_compact_ids.ts:29–34  ·  view source on GitHub ↗
(device: GPUDevice)

Source from the content-addressed store, hash-verified

27 #computePipeline: GPUComputePipeline;
28
29 private constructor(device: GPUDevice)
30 {
31 this.#device = device;
32
33 this.#maxDispatchSize = device.limits.maxComputeWorkgroupsPerDimension;
34 }
35
36 static async create(device: GPUDevice)
37 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected