GstGL.GLBuffer¶
Fields¶
Name |
Type |
Access |
Description |
---|---|---|---|
id |
r/w |
the buffer id for this memory |
|
mem |
r/w |
the parent object |
|
target |
r/w |
the OpenGL target of this texture for binding purposes |
|
usage_hints |
r/w |
the OpenGL usage hints this buffer was created with |
Methods¶
class |
|
Details¶
- class GstGL.GLBuffer¶
GstGL.GLBuffer
is aGst.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.