pub struct WebizenFrameScheduler { /* private fields */ }Expand description
High-level renderer pass scheduler.
Implementations§
Source§impl WebizenFrameScheduler
impl WebizenFrameScheduler
Sourcepub fn plan_frame(
&mut self,
profile: &RenderQualityProfile,
viewport_width: u32,
viewport_height: u32,
vram_budget: Option<u64>,
) -> Result<CompiledSchedule, FrameGraphError>
pub fn plan_frame( &mut self, profile: &RenderQualityProfile, viewport_width: u32, viewport_height: u32, vram_budget: Option<u64>, ) -> Result<CompiledSchedule, FrameGraphError>
Build a frame execution schedule from the given quality profile and viewport dimensions.
Sourcepub fn plan_frame_with_temporal(
&mut self,
profile: &RenderQualityProfile,
viewport_width: u32,
viewport_height: u32,
vram_budget: Option<u64>,
temporal: TemporalResolveConfig,
) -> Result<CompiledSchedule, FrameGraphError>
pub fn plan_frame_with_temporal( &mut self, profile: &RenderQualityProfile, viewport_width: u32, viewport_height: u32, vram_budget: Option<u64>, temporal: TemporalResolveConfig, ) -> Result<CompiledSchedule, FrameGraphError>
Build a schedule with an explicitly admitted temporal resolve/output path.
Callers must declare motion-vector and reactive-mask ownership. Missing inputs preserve the existing direct/bloom output schedule instead of silently accumulating stale history.
Sourcepub fn plan_frame_with_temporal_contract<'a>(
&mut self,
profile: &RenderQualityProfile,
viewport_width: u32,
viewport_height: u32,
vram_budget: Option<u64>,
temporal: TemporalFrameContract<'a>,
) -> Result<WebizenFramePlan<'a>, WebizenFrameScheduleError>
pub fn plan_frame_with_temporal_contract<'a>( &mut self, profile: &RenderQualityProfile, viewport_width: u32, viewport_height: u32, vram_budget: Option<u64>, temporal: TemporalFrameContract<'a>, ) -> Result<WebizenFramePlan<'a>, WebizenFrameScheduleError>
Build a Qualia schedule only after admitting real typed temporal producer views.
The contract’s views are borrowed and never copied into GPU resources. Missing producer capabilities, history lifecycle mistakes, and extent mismatches refuse deterministically before the existing Qualia frame graph is invoked.
Sourcepub fn builder_mut(&mut self) -> &mut FrameGraphBuilder
pub fn builder_mut(&mut self) -> &mut FrameGraphBuilder
Access the underlying builder to inject custom passes or resources.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for WebizenFrameScheduler
impl RefUnwindSafe for WebizenFrameScheduler
impl Send for WebizenFrameScheduler
impl Sync for WebizenFrameScheduler
impl Unpin for WebizenFrameScheduler
impl UnsafeUnpin for WebizenFrameScheduler
impl UnwindSafe for WebizenFrameScheduler
Blanket Implementations§
§impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
Aggregate shares in an MPC protocol.
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more§impl<T> NoneValue for Twhere
T: Default,
impl<T> NoneValue for Twhere
T: Default,
type NoneType = T
§fn null_value() -> T
fn null_value() -> T
The none-equivalent value.