Struct rin_gl::UniformsCache [−][src]
pub struct UniformsCache { /* fields omitted */ }
Implementations
impl UniformsCache
[src]
impl UniformsCache
[src]pub fn new() -> UniformsCache
[src]
pub fn uniforms<C, F>(&mut self, gl: &Renderer<'_, C>, f: F) -> &[Uniform] where
C: RenderSurface,
F: FnOnce() -> Vec<Uniform>,
[src]
C: RenderSurface,
F: FnOnce() -> Vec<Uniform>,
pub fn invalidate(&mut self)
[src]
Trait Implementations
impl Clone for UniformsCache
[src]
impl Clone for UniformsCache
[src]fn clone(&self) -> UniformsCache
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Default for UniformsCache
[src]
impl Default for UniformsCache
[src]fn default() -> UniformsCache
[src]
Auto Trait Implementations
impl RefUnwindSafe for UniformsCache
impl Send for UniformsCache
impl Sync for UniformsCache
impl Unpin for UniformsCache
impl UnwindSafe for UniformsCache
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]