Struct glin::fbo::DepthAttachmentBuilder [−][src]
pub struct DepthAttachmentBuilder<'a>(_);
Implementations
impl<'a> DepthAttachmentBuilder<'a>
[src]
impl<'a> DepthAttachmentBuilder<'a>
[src]pub fn texture(
&self,
w: u32,
h: u32,
format: DepthFormat
) -> Result<DepthAttachment>
[src]
&self,
w: u32,
h: u32,
format: DepthFormat
) -> Result<DepthAttachment>
Allocates a new texture DepthAttachment
with the passed dimensions and format
pub fn texture_multisampled(
&self,
w: u32,
h: u32,
samples: u32,
format: DepthFormat
) -> Result<DepthAttachment>
[src]
&self,
w: u32,
h: u32,
samples: u32,
format: DepthFormat
) -> Result<DepthAttachment>
Allocates a new texture DepthAttachment
with the passed dimensions and format
pub fn render_buffer(
&self,
w: u32,
h: u32,
format: DepthFormat
) -> Result<DepthAttachment>
[src]
&self,
w: u32,
h: u32,
format: DepthFormat
) -> Result<DepthAttachment>
Allocates a new render buffer DepthAttachment
with the passed dimensions and format
pub fn render_buffer_multisampled(
&self,
w: u32,
h: u32,
samples: u32,
format: DepthFormat
) -> Result<DepthAttachment>
[src]
&self,
w: u32,
h: u32,
samples: u32,
format: DepthFormat
) -> Result<DepthAttachment>
Creates a render buffer DepthAttachment with the passed dimensions and depth format
pub fn cubemap(
&self,
w: u32,
h: u32,
format: DepthFormat
) -> Result<DepthAttachment>
[src]
&self,
w: u32,
h: u32,
format: DepthFormat
) -> Result<DepthAttachment>
Allocates a new cubemap DepthAttachment
with the passed dimensions and format