pub struct EngineConfig {
pub power: PowerPreference,
pub width: u32,
pub height: u32,
pub mode: RenderMode,
pub adaptive: AdaptiveQualityConfig,
pub profile: RenderProfile,
pub residency: ResidencyConfig,
pub source_budget: ResidencyBudget,
pub derived_cache: DerivedCacheBudget,
pub resource_memory_limit_bytes: Option<u64>,
pub picking_page_capacity: u32,
}Expand description
Engine construction options.
Fields§
§power: PowerPreferenceAdapter preference.
width: u32Initial frame width, pixels.
height: u32Initial frame height, pixels.
mode: RenderModeRendering strategy. Backend selection remains capability-driven.
adaptive: AdaptiveQualityConfigAdaptive quality policy. A configuration that disables adaptation holds one tier, so converged output stays reproducible.
profile: RenderProfileReusable presentation recipe resolved once during engine construction.
residency: ResidencyConfigFixed page, staging, command and lifecycle capacities.
source_budget: ResidencyBudgetOne coordinated limit set for caller/provider-owned source data.
derived_cache: DerivedCacheBudgetHard limits for recomputable data, separate from source residency.
resource_memory_limit_bytes: Option<u64>Hard ceiling for live physical GPU buffers and textures.
picking_page_capacity: u32Maximum number of simultaneously resident dataset/namespace pick pages.
Trait Implementations§
Source§impl Clone for EngineConfig
impl Clone for EngineConfig
Source§impl Debug for EngineConfig
impl Debug for EngineConfig
Auto Trait Implementations§
impl Freeze for EngineConfig
impl RefUnwindSafe for EngineConfig
impl Send for EngineConfig
impl Sync for EngineConfig
impl Unpin for EngineConfig
impl UnsafeUnpin for EngineConfig
impl UnwindSafe for EngineConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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