Trait gstreamer_gl::prelude::GLFramebufferExt
source · [−]pub trait GLFramebufferExt: 'static {
unsafe fn attach(&self, attachment_point: u32, mem: &mut GLBaseMemory);
fn bind(&self);
fn effective_dimensions(&self) -> (u32, u32);
fn id(&self) -> u32;
}
Expand description
Required methods
unsafe fn attach(&self, attachment_point: u32, mem: &mut GLBaseMemory)
unsafe fn attach(&self, attachment_point: u32, mem: &mut GLBaseMemory)
attach mem
to attachment_point
Must be called with the same OpenGL context current that self
was created
with.
attachment_point
the OpenGL attachment point to bind mem
to
mem
the memory object to bind to attachment_point
Bind self
into the current thread
Must be called with the same OpenGL context current that self
was created
with.