GstGL.GLRenderbuffer

Fields

Name

Type

Access

Description

height

int

r/w

the height

mem

GstGL.GLBaseMemory

r

renderbuffer_format

GstGL.GLFormat

r/w

the texture type

renderbuffer_id

int

r/w

the GL texture id for this memory

renderbuffer_wrapped

bool

r/w

width

int

r/w

the width

Methods

class

init_once ()

get_format ()

get_height ()

get_id ()

get_width ()

Details

class GstGL.GLRenderbuffer

GstGL.GLRenderbuffer is a GstGL.GLBaseMemory subclass providing support for OpenGL renderbuffers.

GstGL.GLRenderbuffer is created or wrapped through GstGL.GLBaseMemory.alloc() with GstGL.GLRenderbufferAllocationParams.

New in version 1.10.

classmethod init_once()[source]

Initializes the GL Base Texture allocator. It is safe to call this function multiple times. This must be called before any other GstGL.GLRenderbuffer operation.

New in version 1.10.

get_format()[source]
Returns:

the GstGL.GLFormat of self

Return type:

GstGL.GLFormat

New in version 1.12.

get_height()[source]
Returns:

the configured height of self

Return type:

int

New in version 1.10.

get_id()[source]
Returns:

the OpenGL renderbuffer handle of self

Return type:

int

New in version 1.10.

get_width()[source]
Returns:

the configured width of self

Return type:

int

New in version 1.10.