pub struct BaseRenderGraph {
pub interfaces: WholeFrameInterfaces,
pub samplers: Samplers,
pub gpu_culler: ProfileData<(), GpuCuller>,
pub gpu_skinner: GpuSkinner,
}
Expand description
Starter RenderGraph.
See module for documentation.
Fields§
§interfaces: WholeFrameInterfaces
§samplers: Samplers
§gpu_culler: ProfileData<(), GpuCuller>
§gpu_skinner: GpuSkinner
Implementations§
Source§impl BaseRenderGraph
impl BaseRenderGraph
pub fn new(renderer: &Renderer) -> Self
Sourcepub fn add_to_graph<'node>(
&'node self,
graph: &mut RenderGraph<'node>,
ready: &ReadyData,
pbr: &'node PbrRoutine,
skybox: Option<&'node SkyboxRoutine>,
tonemapping: &'node TonemappingRoutine,
resolution: UVec2,
samples: SampleCount,
ambient: Vec4,
)
pub fn add_to_graph<'node>( &'node self, graph: &mut RenderGraph<'node>, ready: &ReadyData, pbr: &'node PbrRoutine, skybox: Option<&'node SkyboxRoutine>, tonemapping: &'node TonemappingRoutine, resolution: UVec2, samples: SampleCount, ambient: Vec4, )
Add this to the rendergraph. This is the function you should start customizing.
Auto Trait Implementations§
impl Freeze for BaseRenderGraph
impl !RefUnwindSafe for BaseRenderGraph
impl Send for BaseRenderGraph
impl Sync for BaseRenderGraph
impl Unpin for BaseRenderGraph
impl !UnwindSafe for BaseRenderGraph
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