Struct rin_postpo::tonemap::Tonemap [−][src]
pub struct Tonemap { /* fields omitted */ }
Implementations
impl Tonemap
[src]
impl Tonemap
[src]pub fn new(
gl: &Renderer<'_>,
w: u32,
h: u32,
format: ColorFormat,
fullscreen_quad: Rc<SimpleVao<Vertex2DTex>>
) -> Result<Tonemap>
[src]
gl: &Renderer<'_>,
w: u32,
h: u32,
format: ColorFormat,
fullscreen_quad: Rc<SimpleVao<Vertex2DTex>>
) -> Result<Tonemap>
pub fn fbo(&self) -> &Rc<Fbo>
[src]
pub fn process(
&self,
gl: &Renderer<'_>,
tex: &Texture,
bloomed_tex: Option<&Texture>,
parameters: &TonemapParameters
) -> Result<&Texture>
[src]
&self,
gl: &Renderer<'_>,
tex: &Texture,
bloomed_tex: Option<&Texture>,
parameters: &TonemapParameters
) -> Result<&Texture>
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]