Struct rin::gl::fbo::RenderBuffer[][src]

pub struct RenderBuffer { /* fields omitted */ }

Wrapper for an OpenGL render buffer

Implementations

impl RenderBuffer[src]

pub fn width(&self) -> u32[src]

Returns the width of the render buffer

pub fn height(&self) -> u32[src]

Returns the height of the render buffer

pub fn samples(&self) -> u32[src]

Returns the height of the render buffer

pub fn id(&self) -> u32[src]

GL id

Trait Implementations

impl<'a> BorrowColorAttach for &'a RenderBuffer[src]

impl<'a> BorrowDepthAttach for &'a RenderBuffer[src]

impl ColorAttach for RenderBuffer[src]

impl Debug for RenderBuffer[src]

impl DepthAttach for RenderBuffer[src]

impl Drop for RenderBuffer[src]

impl PartialEq<RenderBuffer> for RenderBuffer[src]

impl Eq for RenderBuffer[src]

Auto Trait Implementations

impl !RefUnwindSafe for RenderBuffer

impl !Send for RenderBuffer

impl !Sync for RenderBuffer

impl Unpin for RenderBuffer

impl !UnwindSafe for RenderBuffer

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Any for T where
    T: Any
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<C> BorrowColorAttach for C where
    C: ColorAttach
[src]

impl<C> BorrowDepthAttach for C where
    C: DepthAttach
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Downcast for T where
    T: Any
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<V> IntoPnt<V> for V[src]

impl<V> IntoVec<V> for V[src]

impl<T> Pointable for T[src]

type Init = T

The type for initializers.

impl<T> Same<T> for T[src]

type Output = T

Should always be Self

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 
[src]

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]