pub struct GraphConfig {
pub label: String,
pub resources: Vec<ResourceConfig>,
pub passes: Vec<PassConfig>,
pub features: Vec<String>,
}Expand description
A serializable graph configuration that can be hot-reloaded.
Fields§
§label: String§resources: Vec<ResourceConfig>§passes: Vec<PassConfig>§features: Vec<String>Implementations§
Source§impl GraphConfig
impl GraphConfig
Sourcepub fn build(&self) -> RenderGraph
pub fn build(&self) -> RenderGraph
Build a RenderGraph from this configuration.
Trait Implementations§
Source§impl Clone for GraphConfig
impl Clone for GraphConfig
Source§fn clone(&self) -> GraphConfig
fn clone(&self) -> GraphConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for GraphConfig
impl RefUnwindSafe for GraphConfig
impl Send for GraphConfig
impl Sync for GraphConfig
impl Unpin for GraphConfig
impl UnsafeUnpin for GraphConfig
impl UnwindSafe for GraphConfig
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