Struct glium::framebuffer::RenderBufferAny
source · pub struct RenderBufferAny { /* private fields */ }
Expand description
A RenderBuffer of indeterminate type.
Implementations§
source§impl RenderBufferAny
impl RenderBufferAny
sourcepub fn get_dimensions(&self) -> (u32, u32)
pub fn get_dimensions(&self) -> (u32, u32)
Returns the dimensions of the render buffer.
sourcepub fn get_samples(&self) -> Option<u32>
pub fn get_samples(&self) -> Option<u32>
Returns the number of samples of the render buffer, or None
if multisampling isn’t
enabled.
sourcepub fn get_context(&self) -> &Rc<Context>
pub fn get_context(&self) -> &Rc<Context>
Returns the context used to create this renderbuffer.
sourcepub fn kind(&self) -> TextureKind
pub fn kind(&self) -> TextureKind
Returns the kind of renderbuffer.
sourcepub fn get_depth_stencil_bits(&self) -> (u16, u16)
pub fn get_depth_stencil_bits(&self) -> (u16, u16)
Determines the number of depth and stencil bits in the format of this render buffer.
Trait Implementations§
source§impl Drop for RenderBufferAny
impl Drop for RenderBufferAny
Auto Trait Implementations§
impl !RefUnwindSafe for RenderBufferAny
impl !Send for RenderBufferAny
impl !Sync for RenderBufferAny
impl Unpin for RenderBufferAny
impl !UnwindSafe for RenderBufferAny
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more