Struct glin::fbo::RenderBufferBuilder[][src]

pub struct RenderBufferBuilder<'a>(_);

Implementations

impl<'a> RenderBufferBuilder<'a>[src]

pub fn create(&self, w: u32, h: u32, internal: GLenum) -> Result<RenderBuffer>[src]

Create a new RenderBufferwith the specified width, height and internal format

pub fn create_multisampled(
    &self,
    w: u32,
    h: u32,
    samples: u32,
    internal: GLenum
) -> Result<RenderBuffer>
[src]

Create a new RenderBufferwith the specified width, height and internal format

pub unsafe fn from_allocated(
    &self,
    id: u32,
    owned: bool,
    w: u32,
    h: u32
) -> RenderBuffer
[src]

pub unsafe fn from_allocated_multisample(
    &self,
    id: u32,
    owned: bool,
    w: u32,
    h: u32,
    samples: u32
) -> RenderBuffer
[src]

Auto Trait Implementations

impl<'a> !RefUnwindSafe for RenderBufferBuilder<'a>

impl<'a> !Send for RenderBufferBuilder<'a>

impl<'a> !Sync for RenderBufferBuilder<'a>

impl<'a> Unpin for RenderBufferBuilder<'a>

impl<'a> !UnwindSafe for RenderBufferBuilder<'a>

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<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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

impl<T> Pointable for T[src]

type Init = T

The type for initializers.

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.