Struct gl_helpers::GLRenderbuffer
[−]
[src]
pub struct GLRenderbuffer { /* fields omitted */ }
Methods
impl GLRenderbuffer
[src]
fn new(
format: DataFormat,
attachment: Attachment,
width: usize,
height: usize
) -> Self
[src]
format: DataFormat,
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,
format: DataFormat,
attachment: Attachment,
width: usize,
height: usize
)
[src]
&self,
format: DataFormat,
attachment: Attachment,
width: usize,
height: usize
)