MCPcopy Create free account

hub / github.com/Twinklebear/webgpu-marching-cubes / functions

Functions40 in github.com/Twinklebear/webgpu-marching-cubes

↓ 8 callersFunctioncompileShader
(device: GPUDevice, src: string, debugLabel?: string)
src/util.ts:7
↓ 8 callersMethodcreate
(volume: Volume, device: GPUDevice)
src/marching_cubes.ts:88
↓ 6 callersMethodnumDispatches
()
src/push_constant_builder.ts:72
↓ 4 callersFunctionalignTo
(val: number, align: number)
src/util.ts:1
↓ 4 callersMethodgetAlignedSize
(size: number)
src/exclusive_scan.ts:119
↓ 3 callersMethoddispatchSize
(dispatchIndex: number)
src/push_constant_builder.ts:84
↓ 3 callersFunctionvoxelTypeSize
(ty: VoxelType)
src/volume.ts:38
↓ 2 callersMethodload
(file: string, device: GPUDevice)
src/volume.ts:88
↓ 1 callersMethodcompactActiveIDs
(isActiveBuffer: GPUBuffer, offsetBuffer: GPUBuffer, idOutputBuffer: GPUBuffer, size:
src/stream_compact_ids.ts:91
↓ 1 callersMethodcomputeActiveVoxels
()
src/marching_cubes.ts:432
↓ 1 callersMethodcomputeSurface
(isovalue: number)
src/marching_cubes.ts:374
↓ 1 callersMethodcomputeVertexOffsets
(activeVoxels: MarchingCubesResult)
src/marching_cubes.ts:495
↓ 1 callersMethodcomputeVertices
(activeVoxels: MarchingCubesResult, vertexOffsets: MarchingCubesResult)
src/marching_cubes.ts:585
↓ 1 callersMethodfetch
()
src/volume.ts:185
↓ 1 callersFunctionfillSelector
(selector: HTMLSelectElement, dict: Map<string, string>)
src/util.ts:36
↓ 1 callersMethodpad
(buf: Uint8Array)
src/volume.ts:163
↓ 1 callersFunctionparseVoxelType
(str: string)
src/volume.ts:21
↓ 1 callersMethodupload
(device: GPUDevice)
src/volume.ts:96
↓ 1 callersMethoduploadIsovalue
(isovalue: number)
src/marching_cubes.ts:417
↓ 1 callersFunctionvoxelTypeToTextureType
(ty: VoxelType)
src/volume.ts:51
Methodconstructor
(count: number, buffer: GPUBuffer)
src/marching_cubes.ts:18
Methodconstructor
(volume: Volume, device: GPUDevice)
src/marching_cubes.ts:81
Methodconstructor
(device: GPUDevice)
src/exclusive_scan.ts:37
Methodconstructor
(device: GPUDevice, totalWorkGroups: number, appPushConstants?: ArrayBuffer)
src/push_constant_builder.ts:24
Methodconstructor
(device: GPUDevice)
src/stream_compact_ids.ts:29
Methodconstructor
(file: string)
src/volume.ts:78
Methodcreate
(device: GPUDevice)
src/exclusive_scan.ts:42
Methodcreate
(device: GPUDevice)
src/stream_compact_ids.ts:36
MethoddiagonalLength
()
src/volume.ts:132
Methoddims
()
src/volume.ts:127
MethoddualGridDims
()
src/volume.ts:138
MethoddualGridNumVoxels
()
src/volume.ts:158
MethodnumVoxels
()
src/volume.ts:153
MethodpushConstantsOffset
(dispatchIndex: number)
src/push_constant_builder.ts:78
Functionrender
()
src/app.ts:185
Methodscan
(buffer: GPUBuffer, size: number)
src/exclusive_scan.ts:124
FunctionserialExclusiveScan
(array: Uint32Array, output: Uint32Array)
src/exclusive_scan.ts:10
FunctionserialStreamCompactIDs
( isActiveBuffer: Uint32Array, offsetBuffer: Uint32Array, idOutputBuffer: Uint32Array)
src/stream_compact_ids.ts:6
Methodtexture
()
src/volume.ts:148
MethodvoxelType
()
src/volume.ts:143