-
Notifications
You must be signed in to change notification settings - Fork 41
Open
Description
I have made a runtime effect with RuntimeEffect.makeForShader(shaderSrc);
I have created the shader with effect.makeShader(Data.makeFromBytes(data), null, null, false)
(data being a byte buffer of uniforms)
I created the paint with paint = new Paint(); paint.setShader(shader);
The problem is, none of these classes have a method to update the uniforms in the shader.
How do I do this? I can't just re create the shader as it takes ~3ms to create and uniforms need to be updated each frame.
Metadata
Metadata
Assignees
Labels
No labels