Struct rin::scene::renderer::resources::ScreenRenderBufferBuilder [−][src]
pub struct ScreenRenderBufferBuilder<'a, 'r> { /* fields omitted */ }
Implementations
impl<'a, 'r> ScreenRenderBufferBuilder<'a, 'r>
[src]
impl<'a, 'r> ScreenRenderBufferBuilder<'a, 'r>
[src]pub fn new(
gl: &'a Renderer<'r, Screen>,
w: u32,
h: u32,
format: ColorFormat
) -> ScreenRenderBufferBuilder<'a, 'r>
[src]
gl: &'a Renderer<'r, Screen>,
w: u32,
h: u32,
format: ColorFormat
) -> ScreenRenderBufferBuilder<'a, 'r>
pub fn normals_buffer(&mut self) -> &mut ScreenRenderBufferBuilder<'a, 'r>
[src]
pub fn position_buffer(&mut self) -> &mut ScreenRenderBufferBuilder<'a, 'r>
[src]
pub fn separate_ambient_buffer(
&mut self
) -> &mut ScreenRenderBufferBuilder<'a, 'r>
[src]
&mut self
) -> &mut ScreenRenderBufferBuilder<'a, 'r>
pub fn linear_depth_buffer(&mut self) -> &mut ScreenRenderBufferBuilder<'a, 'r>
[src]
pub fn depth_format(
&mut self,
depth_format: DepthFormat
) -> &mut ScreenRenderBufferBuilder<'a, 'r>
[src]
&mut self,
depth_format: DepthFormat
) -> &mut ScreenRenderBufferBuilder<'a, 'r>
pub fn disable_resolve_base_color(
&mut self
) -> &mut ScreenRenderBufferBuilder<'a, 'r>
[src]
&mut self
) -> &mut ScreenRenderBufferBuilder<'a, 'r>
pub fn disable_normals_resolve(
&mut self
) -> &mut ScreenRenderBufferBuilder<'a, 'r>
[src]
&mut self
) -> &mut ScreenRenderBufferBuilder<'a, 'r>
pub fn disable_position_resolve(
&mut self
) -> &mut ScreenRenderBufferBuilder<'a, 'r>
[src]
&mut self
) -> &mut ScreenRenderBufferBuilder<'a, 'r>
pub fn disable_separate_ambient_resolve(
&mut self
) -> &mut ScreenRenderBufferBuilder<'a, 'r>
[src]
&mut self
) -> &mut ScreenRenderBufferBuilder<'a, 'r>
pub fn disable_linear_depth_resolve(
&mut self
) -> &mut ScreenRenderBufferBuilder<'a, 'r>
[src]
&mut self
) -> &mut ScreenRenderBufferBuilder<'a, 'r>
pub fn disable_depth_resolve(
&mut self
) -> &mut ScreenRenderBufferBuilder<'a, 'r>
[src]
&mut self
) -> &mut ScreenRenderBufferBuilder<'a, 'r>
pub fn samples(
&mut self,
samples: u32
) -> &mut ScreenRenderBufferBuilder<'a, 'r>
[src]
&mut self,
samples: u32
) -> &mut ScreenRenderBufferBuilder<'a, 'r>
pub fn depth_prepass(&mut self) -> &mut ScreenRenderBufferBuilder<'a, 'r>
[src]
pub fn depth_as_texture(&mut self) -> &mut ScreenRenderBufferBuilder<'a, 'r>
[src]
pub fn build(&mut self) -> Result<ScreenRenderBuffer, Error>
[src]
Auto Trait Implementations
impl<'a, 'r> !RefUnwindSafe for ScreenRenderBufferBuilder<'a, 'r>
impl<'a, 'r> !Send for ScreenRenderBufferBuilder<'a, 'r>
impl<'a, 'r> !Sync for ScreenRenderBufferBuilder<'a, 'r>
impl<'a, 'r> Unpin for ScreenRenderBufferBuilder<'a, 'r> where
'r: 'a,
'r: 'a,
impl<'a, 'r> !UnwindSafe for ScreenRenderBufferBuilder<'a, 'r>
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]