MCPcopy Create free account

hub / github.com/Twinklebear/webgpu-gltf / functions

Functions30 in github.com/Twinklebear/webgpu-gltf

↓ 3 callersFunctiongltfTypeNumComponents
(type)
src/glb_import.js:45
↓ 3 callersMethodupload
(device)
src/glb_import.js:321
↓ 2 callersMethodaddUsage
(usage)
src/glb_import.js:165
↓ 2 callersMethodbuildRenderBundles
( device, shaderCache, viewParamsLayout, viewParamsBindGroup, swapChainFormat)
src/glb_import.js:566
↓ 2 callersFunctionreadNodeTransform
(node)
src/glb_import.js:369
↓ 2 callersFunctionuploadGLBModel
(buffer, device)
src/glb_import.js:584
↓ 1 callersFunctionalignTo
(val, align)
src/glb_import.js:41
↓ 1 callersMethodbuildRenderBundle
(device, shaderCache, viewParamsLayout, viewParamsBindGroup, swapChainFormat,
src/glb_import.js:329
↓ 1 callersFunctionflattenGLTFChildren
(nodes, node, parent_transform)
src/glb_import.js:407
↓ 1 callersFunctiongenerateGLTFShader
(hasNormals, hasUVs, hasColorTexture)
src/glb_shader_cache.js:26
↓ 1 callersMethodgetShader
(hasNormals, hasUVs, hasColorTexture)
src/glb_shader_cache.js:7
↓ 1 callersFunctiongltfTypeSize
(componentType, type)
src/glb_import.js:106
↓ 1 callersFunctionmakeGLTFSingleLevel
(nodes)
src/glb_import.js:422
↓ 1 callersMethodupload
(device)
src/glb_import.js:466
MethodbuildRenderBundle
( device, shaderCache, bindGroupLayouts, bundleEncoder, swapChainFormat, depthFormat)
src/glb_import.js:214
MethodbyteStride
()
src/glb_import.js:197
Methodconstructor
(device)
src/glb_shader_cache.js:2
Methodconstructor
(buffer, size, offset)
src/glb_import.js:140
Methodconstructor
(buffer, view)
src/glb_import.js:148
Methodconstructor
(view, accessor)
src/glb_import.js:184
Methodconstructor
(indices, positions, normals, texcoords, material, topology)
src/glb_import.js:204
Methodconstructor
(name, primitives)
src/glb_import.js:305
Methodconstructor
(name, mesh, transform)
src/glb_import.js:312
Methodconstructor
(material, textures)
src/glb_import.js:431
Methodconstructor
(sampler, device)
src/glb_import.js:511
Methodconstructor
(sampler, image)
src/glb_import.js:553
Methodconstructor
(nodes)
src/glb_import.js:562
FunctiongltfTypeToWebGPU
(componentType, type)
src/glb_import.js:61
Functionrender
()
src/glb_viewer.js:111
Methodupload
(device)
src/glb_import.js:169