Struct rin::scene::postprocessing::Tonemap [−][src]
pub struct Tonemap { /* fields omitted */ }
Implementations
impl Tonemap
[src]
impl Tonemap
[src]pub fn new(
gl: &Renderer<'_, Screen>,
w: u32,
h: u32,
format: ColorFormat,
fullscreen_quad: Rc<SimpleVao<Vertex2DTex>>
) -> Result<Tonemap, Error>
[src]
gl: &Renderer<'_, Screen>,
w: u32,
h: u32,
format: ColorFormat,
fullscreen_quad: Rc<SimpleVao<Vertex2DTex>>
) -> Result<Tonemap, Error>
pub fn fbo(&self) -> &Rc<Fbo<ColorAttachment, DepthAttachment>>
[src]
pub fn process(
&self,
gl: &Renderer<'_, Screen>,
tex: &Texture,
bloomed_tex: Option<&Texture>,
parameters: &TonemapParameters
) -> Result<&Texture, Error>
[src]
&self,
gl: &Renderer<'_, Screen>,
tex: &Texture,
bloomed_tex: Option<&Texture>,
parameters: &TonemapParameters
) -> Result<&Texture, Error>
Auto Trait Implementations
impl !RefUnwindSafe for Tonemap
impl !Send for Tonemap
impl !Sync for Tonemap
impl Unpin for Tonemap
impl !UnwindSafe for Tonemap
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]