[−][src]Struct glium::framebuffer::RenderBufferAny
A RenderBuffer of indeterminate type.
Implementations
impl RenderBufferAny
[src]
pub fn get_dimensions(&self) -> (u32, u32)
[src]
Returns the dimensions of the render buffer.
pub fn get_samples(&self) -> Option<u32>
[src]
Returns the number of samples of the render buffer, or None
if multisampling isn't
enabled.
pub fn get_context(&self) -> &Rc<Context>
[src]
Returns the context used to create this renderbuffer.
pub fn kind(&self) -> TextureKind
[src]
Returns the kind of renderbuffer.
pub fn get_depth_stencil_bits(&self) -> (u16, u16)
[src]
Determines the number of depth and stencil bits in the format of this render buffer.
Trait Implementations
impl Drop for RenderBufferAny
[src]
impl GlObject for RenderBufferAny
[src]
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
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,