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.GLContextalloc_params (
Gst.AllocationParamsorNone) – theGst.AllocationParamsfor sysmem mappings of the texturerenderbuffer_format (
GstGL.GLFormat) – theGstGL.GLFormatfor the created textureswidth (
int) – the width of the renderbufferheight (
int) – the height of the renderbuffer
- Returns:
a new
GstGL.GLRenderbufferAllocationParamsfor 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.GLContextalloc_params (
Gst.AllocationParamsorNone) – theGst.AllocationParamsfor tex_idrenderbuffer_format (
GstGL.GLFormat) – theGstGL.GLFormatfor tex_idwidth (
int) – the width of the renderbufferheight (
int) – the height of the renderbuffernotify (
GLib.DestroyNotifyorNone) – aGLib.DestroyNotify
- Returns:
a new
GstGL.GLRenderbufferAllocationParamsfor wrapping gl_handle as a renderbuffer- Return type:
New in version 1.10.