Struct rin_scene::renderer::MaterialCache [−][src]
pub struct MaterialCache<M: Key = MaterialRef> { /* fields omitted */ }
Implementations
impl MaterialCache<MaterialRef>
[src]
impl MaterialCache<MaterialRef>
[src]pub fn new() -> MaterialCache<MaterialRef>
[src]
impl MaterialCache<ShadowMaterialRef>
[src]
impl MaterialCache<ShadowMaterialRef>
[src]pub fn new_shadows() -> ShadowMaterialCache
[src]
impl<M: Key> MaterialCache<M>
[src]
impl<M: Key> MaterialCache<M>
[src]pub fn any_material_changed(&self) -> bool
[src]
pub fn any_material_transparency_changed(&self) -> bool
[src]
pub fn any_texture_or_uniform_changed(&self) -> bool
[src]
pub fn any_material_uses(&self, programref: ProgramRef) -> bool
[src]
Trait Implementations
impl<M: Key> Index<M> for MaterialCache<M>
[src]
impl<M: Key> Index<M> for MaterialCache<M>
[src]Auto Trait Implementations
impl<M = MaterialRef> !RefUnwindSafe for MaterialCache<M>
impl<M> Send for MaterialCache<M> where
M: Send,
M: Send,
impl<M = MaterialRef> !Sync for MaterialCache<M>
impl<M> Unpin for MaterialCache<M> where
M: Unpin,
M: Unpin,
impl<M = MaterialRef> !UnwindSafe for MaterialCache<M>
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]