Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Twinklebear/webgpu-marching-cubes
/ functions
Functions
40 in github.com/Twinklebear/webgpu-marching-cubes
⨍
Functions
40
◇
Types & classes
13
↓ 8 callers
Function
compileShader
(device: GPUDevice, src: string, debugLabel?: string)
src/util.ts:7
↓ 8 callers
Method
create
(volume: Volume, device: GPUDevice)
src/marching_cubes.ts:88
↓ 6 callers
Method
numDispatches
()
src/push_constant_builder.ts:72
↓ 4 callers
Function
alignTo
(val: number, align: number)
src/util.ts:1
↓ 4 callers
Method
getAlignedSize
(size: number)
src/exclusive_scan.ts:119
↓ 3 callers
Method
dispatchSize
(dispatchIndex: number)
src/push_constant_builder.ts:84
↓ 3 callers
Function
voxelTypeSize
(ty: VoxelType)
src/volume.ts:38
↓ 2 callers
Method
load
(file: string, device: GPUDevice)
src/volume.ts:88
↓ 1 callers
Method
compactActiveIDs
(isActiveBuffer: GPUBuffer, offsetBuffer: GPUBuffer, idOutputBuffer: GPUBuffer, size:
src/stream_compact_ids.ts:91
↓ 1 callers
Method
computeActiveVoxels
()
src/marching_cubes.ts:432
↓ 1 callers
Method
computeSurface
(isovalue: number)
src/marching_cubes.ts:374
↓ 1 callers
Method
computeVertexOffsets
(activeVoxels: MarchingCubesResult)
src/marching_cubes.ts:495
↓ 1 callers
Method
computeVertices
(activeVoxels: MarchingCubesResult, vertexOffsets: MarchingCubesResult)
src/marching_cubes.ts:585
↓ 1 callers
Method
fetch
()
src/volume.ts:185
↓ 1 callers
Function
fillSelector
(selector: HTMLSelectElement, dict: Map<string, string>)
src/util.ts:36
↓ 1 callers
Method
pad
(buf: Uint8Array)
src/volume.ts:163
↓ 1 callers
Function
parseVoxelType
(str: string)
src/volume.ts:21
↓ 1 callers
Method
upload
(device: GPUDevice)
src/volume.ts:96
↓ 1 callers
Method
uploadIsovalue
(isovalue: number)
src/marching_cubes.ts:417
↓ 1 callers
Function
voxelTypeToTextureType
(ty: VoxelType)
src/volume.ts:51
Method
constructor
(count: number, buffer: GPUBuffer)
src/marching_cubes.ts:18
Method
constructor
(volume: Volume, device: GPUDevice)
src/marching_cubes.ts:81
Method
constructor
(device: GPUDevice)
src/exclusive_scan.ts:37
Method
constructor
(device: GPUDevice, totalWorkGroups: number, appPushConstants?: ArrayBuffer)
src/push_constant_builder.ts:24
Method
constructor
(device: GPUDevice)
src/stream_compact_ids.ts:29
Method
constructor
(file: string)
src/volume.ts:78
Method
create
(device: GPUDevice)
src/exclusive_scan.ts:42
Method
create
(device: GPUDevice)
src/stream_compact_ids.ts:36
Method
diagonalLength
()
src/volume.ts:132
Method
dims
()
src/volume.ts:127
Method
dualGridDims
()
src/volume.ts:138
Method
dualGridNumVoxels
()
src/volume.ts:158
Method
numVoxels
()
src/volume.ts:153
Method
pushConstantsOffset
(dispatchIndex: number)
src/push_constant_builder.ts:78
Function
render
()
src/app.ts:185
Method
scan
(buffer: GPUBuffer, size: number)
src/exclusive_scan.ts:124
Function
serialExclusiveScan
(array: Uint32Array, output: Uint32Array)
src/exclusive_scan.ts:10
Function
serialStreamCompactIDs
( isActiveBuffer: Uint32Array, offsetBuffer: Uint32Array, idOutputBuffer: Uint32Array)
src/stream_compact_ids.ts:6
Method
texture
()
src/volume.ts:148
Method
voxelType
()
src/volume.ts:143