We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
There is currently no way to dynamically quickly change the size of the storage area, but after removing webgl1 support, you can use:
https://registry.khronos.org/webgl/specs/latest/2.0/
undefined bufferSubData(GLenum target, GLintptr dstByteOffset, [AllowShared] ArrayBufferView srcData, unsigned long long srcOffset, optional GLuint length = 0);
https://github.com/playcanvas/engine/blob/main/src/platform/graphics/webgpu/webgpu-buffer.js#L91 https://github.com/playcanvas/engine/blob/main/src/platform/graphics/webgl/webgl-buffer.js#L49
Tested successfully: https://github.com/AlexAPPi/playcanvas-terrain-system/blob/main/src/ScriptHelpers/TerrainPatchesInstancing.mts#L93
The text was updated successfully, but these errors were encountered:
No branches or pull requests
There is currently no way to dynamically quickly change the size of the storage area, but after removing webgl1 support, you can use:
https://registry.khronos.org/webgl/specs/latest/2.0/
https://github.com/playcanvas/engine/blob/main/src/platform/graphics/webgpu/webgpu-buffer.js#L91
https://github.com/playcanvas/engine/blob/main/src/platform/graphics/webgl/webgl-buffer.js#L49
Tested successfully: https://github.com/AlexAPPi/playcanvas-terrain-system/blob/main/src/ScriptHelpers/TerrainPatchesInstancing.mts#L93
The text was updated successfully, but these errors were encountered: