pub struct NormalNode {}
Implementations§
Source§impl NormalNode
impl NormalNode
Trait Implementations§
Source§impl MaterialNode for NormalNode
impl MaterialNode for NormalNode
fn collect_nodes( &self, _pool: &ResourcePool<Box<dyn MaterialNode>>, nodes: &mut Vec<ResourceId<Box<dyn MaterialNode>>>, visited: &mut HashMap<ResourceId<Box<dyn MaterialNode>>, bool>, self_rid: ResourceId<Box<dyn MaterialNode>>, )
fn borrow_contents(&self) -> Option<&UniformContents>
fn build_declaration(&self, _self_id: usize) -> String
fn build_functions(&self, _self_id: usize) -> String
fn build_fragment_shader( &self, _pool: &ResourcePool<Box<dyn MaterialNode>>, _visited: &mut HashMap<usize, bool>, _self_id: usize, ) -> String
fn get_fragment_output(&self, _self_id: usize) -> String
Auto Trait Implementations§
impl Freeze for NormalNode
impl RefUnwindSafe for NormalNode
impl Send for NormalNode
impl Sync for NormalNode
impl Unpin for NormalNode
impl UnwindSafe for NormalNode
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