GLFramebuffer.newWithDefaultDepth

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

class GLFramebuffer
static
newWithDefaultDepth

Parameters

context gstgl.glcontext.GLContext

a #GstGLContext

width uint

width for the depth buffer

height uint

for the depth buffer

Return Value

Type: gstgl.glframebuffer.GLFramebuffer

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