MCPcopy Index your code
hub / github.com/processing/p5.js / _hasGroupDataChanged

Method _hasGroupDataChanged

src/webgpu/p5.RendererWebGPU.js:2129–2133  ·  view source on GitHub ↗
(shader, bufferGroup)

Source from the content-addressed store, hash-verified

2127 }
2128
2129 _hasGroupDataChanged(shader, bufferGroup) {
2130 // First time
2131 if (!bufferGroup.currentBuffer) return true;
2132 return shader.buffersDirty.has(bufferGroup.group * 1000 + bufferGroup.binding);
2133 }
2134
2135 _parseStruct(shaderSource, structName) {
2136 const structMatch = shaderSource.match(

Callers 1

setupShaderBindGroupsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected