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

Method constructor

src/marching_cubes.ts:81–86  ·  view source on GitHub ↗
(volume: Volume, device: GPUDevice)

Source from the content-addressed store, hash-verified

79 computeVerticesKernelTime = -1;
80
81 private constructor(volume: Volume, device: GPUDevice)
82 {
83 this.#device = device;
84 this.#volume = volume;
85 this.#timestampQuerySupport = device.features.has("timestamp-query");
86 }
87
88 static async create(volume: Volume, device: GPUDevice)
89 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected