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

Class MarchingCubesResult

src/marching_cubes.ts:13–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11import {PushConstants} from "./push_constant_builder";
12
13export class MarchingCubesResult
14{
15 count: number;
16 buffer: GPUBuffer;
17
18 constructor(count: number, buffer: GPUBuffer)
19 {
20 this.count = count;
21 this.buffer = buffer;
22 }
23};
24
25/* Marching Cubes execution has 5 steps
26 * 1. Compute active voxels

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected