pub trait GLFramebufferExt: IsA<GLFramebuffer> + 'static {
// Provided methods
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
Provided Methods§
Sourceunsafe fn attach(&self, attachment_point: u32, mem: &mut GLBaseMemory)
unsafe fn attach(&self, attachment_point: u32, mem: &mut GLBaseMemory)
Sourcefn bind(&self)
fn bind(&self)
Bind self
into the current thread
Must be called with the same OpenGL context current that self
was created
with.
Sourcefn effective_dimensions(&self) -> (u32, u32)
fn effective_dimensions(&self) -> (u32, u32)
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.