pub struct SkyboxLane { /* private fields */ }Expand description
Environment-background lane.
Holds the pipeline, the two bespoke layouts, the per-frame uniform buffer + its bind group (group 0), and — created lazily once the IBL bake is ready — the static env-cube bind group (group 1). The env cube is baked once and never changes, so its bind group is built a single time and cached.
Trait Implementations§
Source§impl Debug for SkyboxLane
impl Debug for SkyboxLane
Source§impl Default for SkyboxLane
impl Default for SkyboxLane
Source§fn default() -> SkyboxLane
fn default() -> SkyboxLane
Returns the “default value” for a type. Read more
Source§impl Lane for SkyboxLane
impl Lane for SkyboxLane
Source§fn strategy_name(&self) -> &'static str
fn strategy_name(&self) -> &'static str
Human-readable name identifying this lane’s strategy. Read more
Source§fn on_initialize(&self, ctx: &mut LaneContext) -> Result<(), LaneError>
fn on_initialize(&self, ctx: &mut LaneContext) -> Result<(), LaneError>
Called once when the lane is registered or the underlying context resets. Read more
Source§fn execute(&self, ctx: &mut LaneContext) -> Result<(), LaneError>
fn execute(&self, ctx: &mut LaneContext) -> Result<(), LaneError>
Main execution entry point — called each frame/tick by the owning agent. Read more
Source§fn as_any_mut(&mut self) -> &mut dyn Any
fn as_any_mut(&mut self) -> &mut dyn Any
Downcast to a concrete type (mutable) for type-specific operations.
§fn estimate_cost(&self, _ctx: &LaneContext) -> f32
fn estimate_cost(&self, _ctx: &LaneContext) -> f32
Estimated computational cost of running this lane. Read more
§fn on_shutdown(&self, _ctx: &mut LaneContext)
fn on_shutdown(&self, _ctx: &mut LaneContext)
Called when the lane is being destroyed or the context is shutting down. Read more
Auto Trait Implementations§
impl !Freeze for SkyboxLane
impl RefUnwindSafe for SkyboxLane
impl Send for SkyboxLane
impl Sync for SkyboxLane
impl Unpin for SkyboxLane
impl UnsafeUnpin for SkyboxLane
impl UnwindSafe for SkyboxLane
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