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

Trait containing all GLFramebuffer methods.

Implementors

GLFramebuffer

Required methods

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.

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

Returns
width

output width

height

output height

Returns

the OpenGL id for self

Implementors