Struct glin::fbo::ColorAttachmentBuilder[][src]

pub struct ColorAttachmentBuilder<'a>(_);

Implementations

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

pub fn texture(
    &self,
    w: u32,
    h: u32,
    format: ColorFormat
) -> Result<ColorAttachment>
[src]

Creates a new texture ColorAttachment with the passed dimensions and color format

pub fn texture_multisampled(
    &self,
    w: u32,
    h: u32,
    samples: u32,
    format: ColorFormat
) -> Result<ColorAttachment>
[src]

Creates a new texture ColorAttachment with the passed dimensions and color format

pub fn render_buffer(
    &self,
    w: u32,
    h: u32,
    format: ColorFormat
) -> Result<ColorAttachment>
[src]

Creates a render buffer ColorAttachment with the passed dimensions and color format

pub fn render_buffer_multisampled(
    &self,
    w: u32,
    h: u32,
    samples: u32,
    format: ColorFormat
) -> Result<ColorAttachment>
[src]

Creates a render buffer ColorAttachment with the passed dimensions and color format

pub fn cubemap(
    &self,
    w: u32,
    h: u32,
    format: ColorFormat
) -> Result<ColorAttachment>
[src]

Creates a new cubemap ColorAttachment with the passed dimensions and color format

Auto Trait Implementations

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

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

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

impl<'a> Unpin for ColorAttachmentBuilder<'a>

impl<'a> !UnwindSafe for ColorAttachmentBuilder<'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.