GLFramebuffer.newWithDefaultDepth

gstgl.glframebuffer.GLFramebuffer newWithDefaultDepth(gstgl.glcontext.GLContext context, uint width, uint height)

This function will internally create an OpenGL framebuffer object and must be called on context's OpenGL thread.

Parameters

contexta #GstGLContext
widthwidth for the depth buffer
heightfor the depth buffer

Returns

a new #GstGLFramebuffer with a depth buffer of width and height