Struct glium::framebuffer::RenderBufferAny [] [src]

pub struct RenderBufferAny {
    // some fields omitted
}

A RenderBuffer of indeterminate type.

Methods

impl RenderBufferAny

fn get_dimensions(&self) -> (u32, u32)

Returns the dimensions of the render buffer.

fn get_samples(&self) -> Option<u32>

Returns the number of samples of the render buffer, or None if multisampling isn't enabled.

fn get_context(&self) -> &Rc<Context>

Returns the context used to create this renderbuffer.

Trait Implementations

impl Drop for RenderBufferAny

fn drop(&mut self)

impl GlObject for RenderBufferAny

type Id = GLuint

fn get_id(&self) -> GLuint