Struct rin::gl::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, Error>
[src]
&self,
w: u32,
h: u32,
format: DepthFormat
) -> Result<DepthAttachment, Error>
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, Error>
[src]
&self,
w: u32,
h: u32,
samples: u32,
format: DepthFormat
) -> Result<DepthAttachment, Error>
Allocates a new texture DepthAttachment
with the passed dimensions and format
pub fn render_buffer(
&self,
w: u32,
h: u32,
format: DepthFormat
) -> Result<DepthAttachment, Error>
[src]
&self,
w: u32,
h: u32,
format: DepthFormat
) -> Result<DepthAttachment, Error>
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, Error>
[src]
&self,
w: u32,
h: u32,
samples: u32,
format: DepthFormat
) -> Result<DepthAttachment, Error>
Creates a render buffer DepthAttachment with the passed dimensions and depth format
pub fn cubemap(
&self,
w: u32,
h: u32,
format: DepthFormat
) -> Result<DepthAttachment, Error>
[src]
&self,
w: u32,
h: u32,
format: DepthFormat
) -> Result<DepthAttachment, Error>
Allocates a new cubemap DepthAttachment
with the passed dimensions and format
Auto Trait Implementations
impl<'a> !RefUnwindSafe for DepthAttachmentBuilder<'a>
impl<'a> !Send for DepthAttachmentBuilder<'a>
impl<'a> !Sync for DepthAttachmentBuilder<'a>
impl<'a> Unpin for DepthAttachmentBuilder<'a>
impl<'a> !UnwindSafe for DepthAttachmentBuilder<'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]