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
I have got a demo https://github.com/HinTak/skia-python-examples/blob/main/SkSL_ShaderMulti%2BSDL2.py which does most of https://shaders.skia.org in python now. It is quite pretty but with some hacks. I realise I need to add SkV2 and float as uniform, too, to remove those hacks. The code exists in my hard disk now.
SkV2
float
Just a placeholder for a pull.
The text was updated successfully, but these errors were encountered:
Adding coercion of list of 2 to SkV2 struct in SkRuntimeEffectBuilder…
3932576
….setUniform SkV2 maps naturally to (x,y) co-ordinates for RuntimeEffect, and probably should have been added earlier. Part of kyamagu#320
Adding SkRuntimeEffectBuilder.setUniform taking a float
966583d
Part of kyamagu#320
Adding SkV2 version of setUniform
bfb16ea
Successfully merging a pull request may close this issue.
I have got a demo https://github.com/HinTak/skia-python-examples/blob/main/SkSL_ShaderMulti%2BSDL2.py which does most of https://shaders.skia.org in python now. It is quite pretty but with some hacks. I realise I need to add
SkV2
andfloat
as uniform, too, to remove those hacks. The code exists in my hard disk now.Just a placeholder for a pull.
The text was updated successfully, but these errors were encountered: