This feature requires the p5.webgpu.js addon.
이 API는 실험적입니다
향후 p5.js 버전에서 동작이 변경될 수 있습니다.
Returns the default shader used for compute operations.
Calling buildComputeShader(shaderFunction) is equivalent to calling baseComputeShader().modify(shaderFunction).
Read the buildComputeShader reference or call baseComputeShader().inspectHooks() for more information on what you can do with the base compute shader.
예제
구문
baseComputeShader()
매개변수
반환값
p5.Shader: The base compute shader.
Notice any errors or typos? Please let us know. Please feel free to edit src/core/p5.Renderer3D.js and open a pull request!