Struct rin::gl::fbo::ColorAttachmentBuilder [−][src]
pub struct ColorAttachmentBuilder<'a>(_);
Implementations
impl<'a> ColorAttachmentBuilder<'a>
[src]
impl<'a> ColorAttachmentBuilder<'a>
[src]pub fn texture(
&self,
w: u32,
h: u32,
format: ColorFormat
) -> Result<ColorAttachment, Error>
[src]
&self,
w: u32,
h: u32,
format: ColorFormat
) -> Result<ColorAttachment, Error>
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, Error>
[src]
&self,
w: u32,
h: u32,
samples: u32,
format: ColorFormat
) -> Result<ColorAttachment, Error>
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, Error>
[src]
&self,
w: u32,
h: u32,
format: ColorFormat
) -> Result<ColorAttachment, Error>
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, Error>
[src]
&self,
w: u32,
h: u32,
samples: u32,
format: ColorFormat
) -> Result<ColorAttachment, Error>
Creates a render buffer ColorAttachment with the passed dimensions and color format
pub fn cubemap(
&self,
w: u32,
h: u32,
format: ColorFormat
) -> Result<ColorAttachment, Error>
[src]
&self,
w: u32,
h: u32,
format: ColorFormat
) -> Result<ColorAttachment, Error>
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<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]pub fn to_subset(&self) -> Option<SS>
[src]
pub fn is_in_subset(&self) -> bool
[src]
pub fn to_subset_unchecked(&self) -> SS
[src]
pub fn from_subset(element: &SS) -> SP
[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]