GstGL.GLBuffer

Fields

Name

Type

Access

Description

id

int

r/w

the buffer id for this memory

mem

GstGL.GLBaseMemory

r/w

the parent object

target

int

r/w

the OpenGL target of this texture for binding purposes

usage_hints

int

r/w

the OpenGL usage hints this buffer was created with

Methods

class

init_once ()

Details

class GstGL.GLBuffer

GstGL.GLBuffer is a Gst.Memory subclass providing support for the mapping of GL buffers.

Data is uploaded or downloaded from the GPU as is necessary.

classmethod init_once()[source]

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

New in version 1.8.