pub struct GLSLExtPassRegistry { /* private fields */ }Expand description
Pass registry for GLSLExt.
Implementations§
Source§impl GLSLExtPassRegistry
impl GLSLExtPassRegistry
pub fn new() -> Self
pub fn register(&mut self, c: GLSLExtPassConfig)
pub fn len(&self) -> usize
pub fn is_empty(&self) -> bool
pub fn get(&self, i: usize) -> Option<&GLSLExtPassConfig>
pub fn get_stats(&self, i: usize) -> Option<&GLSLExtPassStats>
pub fn enabled_passes(&self) -> Vec<&GLSLExtPassConfig>
pub fn passes_in_phase(&self, ph: &GLSLExtPassPhase) -> Vec<&GLSLExtPassConfig>
pub fn total_nodes_visited(&self) -> usize
pub fn any_changed(&self) -> bool
Trait Implementations§
Source§impl Debug for GLSLExtPassRegistry
impl Debug for GLSLExtPassRegistry
Source§impl Default for GLSLExtPassRegistry
impl Default for GLSLExtPassRegistry
Source§fn default() -> GLSLExtPassRegistry
fn default() -> GLSLExtPassRegistry
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for GLSLExtPassRegistry
impl RefUnwindSafe for GLSLExtPassRegistry
impl Send for GLSLExtPassRegistry
impl Sync for GLSLExtPassRegistry
impl Unpin for GLSLExtPassRegistry
impl UnsafeUnpin for GLSLExtPassRegistry
impl UnwindSafe for GLSLExtPassRegistry
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more