Struct gl_helpers::GLFramebuffer [−][src]
pub struct GLFramebuffer { /* fields omitted */ }
Methods
impl GLFramebuffer
[src]
impl GLFramebuffer
pub fn new(gl_texture: &GLTexture, buffers: &[Attachment], level: isize) -> Self
[src]
pub fn new(gl_texture: &GLTexture, buffers: &[Attachment], level: isize) -> Self
pub fn id(&self) -> GLuint
[src]
pub fn id(&self) -> GLuint
pub fn bind(&self) -> &Self
[src]
pub fn bind(&self) -> &Self
pub fn unbind(&self) -> &Self
[src]
pub fn unbind(&self) -> &Self
pub fn set(&self, gl_texture: &GLTexture, buffers: &[Attachment], level: isize)
[src]
pub fn set(&self, gl_texture: &GLTexture, buffers: &[Attachment], level: isize)
Trait Implementations
impl Debug for GLFramebuffer
[src]
impl Debug for GLFramebuffer
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Hash for GLFramebuffer
[src]
impl Hash for GLFramebuffer
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
[src]Feeds a slice of this type into the given [Hasher
]. Read more
impl Drop for GLFramebuffer
[src]
impl Drop for GLFramebuffer
Auto Trait Implementations
impl Send for GLFramebuffer
impl Send for GLFramebuffer
impl Sync for GLFramebuffer
impl Sync for GLFramebuffer