Struct rin_scene::renderer::ProgramCache [−][src]
pub struct ProgramCache { /* fields omitted */ }
Implementations
impl ProgramCache
[src]
impl ProgramCache
[src]pub fn new(
unified_material_ubo: bool,
needs_indexing_hack: bool
) -> ProgramCache
[src]
unified_material_ubo: bool,
needs_indexing_hack: bool
) -> ProgramCache
pub fn register_program_for<M, IM>(&mut self, materials: IM) where
M: FullMaterial + 'static,
IM: IntoIterator<Item = M>,
[src]
M: FullMaterial + 'static,
IM: IntoIterator<Item = M>,
pub fn remove(&mut self, programref: ProgramRef)
[src]
Trait Implementations
impl Index<ProgramRef> for ProgramCache
[src]
impl Index<ProgramRef> for ProgramCache
[src]impl IndexMut<ProgramRef> for ProgramCache
[src]
impl IndexMut<ProgramRef> for ProgramCache
[src]fn index_mut(&mut self, programref: ProgramRef) -> &mut Program
[src]
Auto Trait Implementations
impl !RefUnwindSafe for ProgramCache
impl !Send for ProgramCache
impl !Sync for ProgramCache
impl Unpin for ProgramCache
impl !UnwindSafe for ProgramCache
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]