Trait gstreamer_gl::prelude::GLFramebufferExt[][src]

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; }

Trait containing all GLFramebuffer methods.

Implementors

crate::GLFramebuffer

Required methods

unsafe fn attach(&self, attachment_point: u32, mem: &mut GLBaseMemory)[src]

attach mem to attachment_point

attachment_point

the OpenGL attachment point to bind mem to

mem

the memory object to bind to attachment_point

fn bind(&self)[src]

Bind self into the current thread

fn effective_dimensions(&self) -> (u32, u32)[src]

Retrieve the effective dimensions from the current attachments attached to self.

width

output width

height

output height

fn id(&self) -> u32[src]

Returns

the OpenGL id for self

Loading content...

Implementors

impl<O: IsA<GLFramebuffer>> GLFramebufferExt for O[src]

unsafe fn attach(&self, attachment_point: u32, mem: &mut GLBaseMemory)[src]

fn bind(&self)[src]

fn effective_dimensions(&self) -> (u32, u32)[src]

fn id(&self) -> u32[src]

Loading content...