Struct nannou::ui::backend::glium::glium::framebuffer::RenderBufferAny [−][src]
pub struct RenderBufferAny { /* fields omitted */ }
A RenderBuffer of indeterminate type.
Methods
impl RenderBufferAny
[src]
impl RenderBufferAny
pub fn get_dimensions(&self) -> (u32, u32)
[src]
pub fn get_dimensions(&self) -> (u32, u32)
Returns the dimensions of the render buffer.
pub fn get_samples(&self) -> Option<u32>
[src]
pub fn get_samples(&self) -> Option<u32>
Returns the number of samples of the render buffer, or None
if multisampling isn't
enabled.
pub fn get_context(&self) -> &Rc<Context>
[src]
pub fn get_context(&self) -> &Rc<Context>
Returns the context used to create this renderbuffer.
pub fn kind(&self) -> TextureKind
[src]
pub fn kind(&self) -> TextureKind
Returns the kind of renderbuffer.
Trait Implementations
impl GlObject for RenderBufferAny
[src]
impl GlObject for RenderBufferAny
type Id = u32
The type of identifier for this object.
fn get_id(&self) -> u32
[src]
fn get_id(&self) -> u32
Returns the id of the object.
impl Drop for RenderBufferAny
[src]
impl Drop for RenderBufferAny
Auto Trait Implementations
impl !Send for RenderBufferAny
impl !Send for RenderBufferAny
impl !Sync for RenderBufferAny
impl !Sync for RenderBufferAny