Update GLSL uniforms (glshader element)
youyu.youyu at gmail.com
Thu May 6 11:40:57 UTC 2021
There's a way to modify uniform variables for the glshader element.
The following is an example of changing simple value types like float.
uniforms = Gst.Structure.new_empty("uniforms")
u1 = GObject.Value(GObject.TYPE_FLOAT)
But it is common in GLSL shader we use data types like Vec2/Vec3.
The following code did not work.
v1 = Graphene.Vec2()
Should I create GObject.Value() with GObject.TYPE_?? for Graphene.Vec2?
How to set the Graphene.Vec2 object to the GObject.Value?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the gstreamer-devel