Struct rin::postpo::Bloom [−][src]
pub struct Bloom { /* fields omitted */ }
Implementations
impl Bloom
[src]
impl Bloom
[src]pub fn new(
gl: &Renderer<'_, Screen>,
w: u32,
h: u32,
format: ColorFormat,
fullscreen_quad: Rc<SimpleVao<Vertex2DTex>>
) -> Result<Bloom, Error>
[src]
gl: &Renderer<'_, Screen>,
w: u32,
h: u32,
format: ColorFormat,
fullscreen_quad: Rc<SimpleVao<Vertex2DTex>>
) -> Result<Bloom, Error>
pub fn bloom_down_texture(&self, idx: usize) -> &Texture
[src]
pub fn bloom_up_texture(&self, idx: usize) -> &Texture
[src]
pub fn process(
&self,
gl: &Renderer<'_, Screen>,
tex: &Texture,
parameters: &BloomParameters
) -> &Texture
[src]
&self,
gl: &Renderer<'_, Screen>,
tex: &Texture,
parameters: &BloomParameters
) -> &Texture
Auto Trait Implementations
impl !RefUnwindSafe for Bloom
impl !Send for Bloom
impl !Sync for Bloom
impl Unpin for Bloom
impl !UnwindSafe for Bloom
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]