GstGL.GLBufferAllocationParams

Fields

Name

Type

Access

Description

gl_target

int

r/w

the OpenGL target to bind the buffer to

gl_usage

int

r/w

the OpenGL usage hint to create the buffer with

parent

GstGL.GLAllocationParams

r/w

parent object

Methods

class

new (context, alloc_size, alloc_params, gl_target, gl_usage)

Details

class GstGL.GLBufferAllocationParams
classmethod new(context, alloc_size, alloc_params, gl_target, gl_usage)[source]
Parameters:
Returns:

a new GstGL.GLBufferAllocationParams for allocating OpenGL buffer objects

Return type:

GstGL.GLBufferAllocationParams

New in version 1.8.