gstgl.glfilter
Module for [GLFilter] class
Types 3
#GstGLFilter helps to implement simple OpenGL filter elements taking a single input and producing a single output with a #GstGLFramebuffer
Methods
GLFilterGidBuilder builder()Get builder for [gstgl.glfilter.GLFilter] Returns: New builder objectvoid drawFullscreenQuad()Render a fullscreen quad using the current GL state. The only GL state this modifies is the necessary vertex/index buffers and, if necessary, a Vertex Array Object for drawing a fullscreen quad. ...bool filterTexture(gst.buffer.Buffer input, gst.buffer.Buffer output)Calls filter_texture vfunc with correctly mapped #GstGLMemorysbool renderToTarget(gstgl.glmemory.GLMemory input, gstgl.glmemory.GLMemory output, gstgl.types.GLFilterRenderFunc func)Transforms input into output using func on through FBO.void renderToTargetWithShader(gstgl.glmemory.GLMemory input, gstgl.glmemory.GLMemory output, gstgl.glshader.GLShader shader)Transforms input into output using shader with a FBO.