GstGL.GLRenderbufferAllocationParams¶
Fields¶
Name |
Type |
Access |
Description |
---|---|---|---|
height |
r/w |
the height |
|
parent |
r |
||
renderbuffer_format |
r/w |
the |
|
width |
r/w |
the width |
Methods¶
class |
|
class |
|
Details¶
- class GstGL.GLRenderbufferAllocationParams¶
Allocation parameters
- classmethod new(context, alloc_params, renderbuffer_format, width, height)[source]¶
- Parameters:
context (
GstGL.GLContext
) – aGstGL.GLContext
alloc_params (
Gst.AllocationParams
orNone
) – theGst.AllocationParams
for sysmem mappings of the texturerenderbuffer_format (
GstGL.GLFormat
) – theGstGL.GLFormat
for the created textureswidth (
int
) – the width of the renderbufferheight (
int
) – the height of the renderbuffer
- Returns:
a new
GstGL.GLRenderbufferAllocationParams
for allocatingGstGL.GLRenderbuffer
's- Return type:
New in version 1.10.
- classmethod new_wrapped(context, alloc_params, renderbuffer_format, width, height, gl_handle, user_data, notify)[source]¶
- Parameters:
context (
GstGL.GLContext
) – aGstGL.GLContext
alloc_params (
Gst.AllocationParams
orNone
) – theGst.AllocationParams
for tex_idrenderbuffer_format (
GstGL.GLFormat
) – theGstGL.GLFormat
for tex_idwidth (
int
) – the width of the renderbufferheight (
int
) – the height of the renderbuffernotify (
GLib.DestroyNotify
orNone
) – aGLib.DestroyNotify
- Returns:
a new
GstGL.GLRenderbufferAllocationParams
for wrapping gl_handle as a renderbuffer- Return type:
New in version 1.10.