Struct gl_helpers::GLRenderbuffer
[−]
[src]
pub struct GLRenderbuffer { /* fields omitted */ }
Methods
impl GLRenderbuffer
[src]
fn new(
internal_format: InternalFormat,
attachment: Attachment,
width: usize,
height: usize
) -> Self
[src]
internal_format: InternalFormat,
attachment: Attachment,
width: usize,
height: usize
) -> Self
fn id(&self) -> GLuint
[src]
fn bind(&self) -> &Self
[src]
fn unbind(&self) -> &Self
[src]
fn set(
&self,
internal_format: InternalFormat,
attachment: Attachment,
width: usize,
height: usize
)
[src]
&self,
internal_format: InternalFormat,
attachment: Attachment,
width: usize,
height: usize
)
Trait Implementations
impl Debug for GLRenderbuffer
[src]
impl Clone for GLRenderbuffer
[src]
fn clone(&self) -> GLRenderbuffer
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Hash for GLRenderbuffer
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
[src]
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]
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more