Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Twinklebear/webgpu-gltf
/ functions
Functions
30 in github.com/Twinklebear/webgpu-gltf
⨍
Functions
30
◇
Types & classes
22
↓ 3 callers
Function
gltfTypeNumComponents
(type)
src/glb_import.js:45
↓ 3 callers
Method
upload
(device)
src/glb_import.js:321
↓ 2 callers
Method
addUsage
(usage)
src/glb_import.js:165
↓ 2 callers
Method
buildRenderBundles
( device, shaderCache, viewParamsLayout, viewParamsBindGroup, swapChainFormat)
src/glb_import.js:566
↓ 2 callers
Function
readNodeTransform
(node)
src/glb_import.js:369
↓ 2 callers
Function
uploadGLBModel
(buffer, device)
src/glb_import.js:584
↓ 1 callers
Function
alignTo
(val, align)
src/glb_import.js:41
↓ 1 callers
Method
buildRenderBundle
(device, shaderCache, viewParamsLayout, viewParamsBindGroup, swapChainFormat,
src/glb_import.js:329
↓ 1 callers
Function
flattenGLTFChildren
(nodes, node, parent_transform)
src/glb_import.js:407
↓ 1 callers
Function
generateGLTFShader
(hasNormals, hasUVs, hasColorTexture)
src/glb_shader_cache.js:26
↓ 1 callers
Method
getShader
(hasNormals, hasUVs, hasColorTexture)
src/glb_shader_cache.js:7
↓ 1 callers
Function
gltfTypeSize
(componentType, type)
src/glb_import.js:106
↓ 1 callers
Function
makeGLTFSingleLevel
(nodes)
src/glb_import.js:422
↓ 1 callers
Method
upload
(device)
src/glb_import.js:466
Method
buildRenderBundle
( device, shaderCache, bindGroupLayouts, bundleEncoder, swapChainFormat, depthFormat)
src/glb_import.js:214
Method
byteStride
()
src/glb_import.js:197
Method
constructor
(device)
src/glb_shader_cache.js:2
Method
constructor
(buffer, size, offset)
src/glb_import.js:140
Method
constructor
(buffer, view)
src/glb_import.js:148
Method
constructor
(view, accessor)
src/glb_import.js:184
Method
constructor
(indices, positions, normals, texcoords, material, topology)
src/glb_import.js:204
Method
constructor
(name, primitives)
src/glb_import.js:305
Method
constructor
(name, mesh, transform)
src/glb_import.js:312
Method
constructor
(material, textures)
src/glb_import.js:431
Method
constructor
(sampler, device)
src/glb_import.js:511
Method
constructor
(sampler, image)
src/glb_import.js:553
Method
constructor
(nodes)
src/glb_import.js:562
Function
gltfTypeToWebGPU
(componentType, type)
src/glb_import.js:61
Function
render
()
src/glb_viewer.js:111
Method
upload
(device)
src/glb_import.js:169