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() static nothrowGet builder for [gstgl.glfilter.GLFilter] Returns: New builder objectvoid drawFullscreenQuad() nothrowRender 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) nothrowCalls filter_texture vfunc with correctly mapped #GstGLMemorysbool renderToTarget(gstgl.glmemory.GLMemory input, gstgl.glmemory.GLMemory output, gstgl.types.GLFilterRenderFunc func) nothrowTransforms input into output using func on through FBO.void renderToTargetWithShader(gstgl.glmemory.GLMemory input, gstgl.glmemory.GLMemory output, gstgl.glshader.GLShader shader) nothrowTransforms input into output using shader with a FBO.Fluent builder implementation template for gstgl.glfilter.GLFilter
Fluent builder for gstgl.glfilter.GLFilter