Struct glin::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>
[src]
&self,
w: u32,
h: u32,
format: ColorFormat
) -> Result<ColorAttachment>
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]
&self,
w: u32,
h: u32,
samples: u32,
format: ColorFormat
) -> Result<ColorAttachment>
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]
&self,
w: u32,
h: u32,
format: ColorFormat
) -> Result<ColorAttachment>
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]
&self,
w: u32,
h: u32,
samples: u32,
format: ColorFormat
) -> Result<ColorAttachment>
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]
&self,
w: u32,
h: u32,
format: ColorFormat
) -> Result<ColorAttachment>
Creates a new cubemap ColorAttachment with the passed dimensions and color format