pub struct StandardPbrLane { /* private fields */ }Expand description
Full PBR (Cook-Torrance) lit lane.
Per CLAD this struct holds only the lane’s persistent state — the
init / render bodies are private free functions in this module, the
trait impl below dispatches to them. No inherent methods other than
what the Lane and Default traits require.
Trait Implementations§
Source§impl Default for StandardPbrLane
impl Default for StandardPbrLane
Source§fn default() -> StandardPbrLane
fn default() -> StandardPbrLane
Returns the “default value” for a type. Read more
Source§impl Lane for StandardPbrLane
impl Lane for StandardPbrLane
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 StandardPbrLane
impl !RefUnwindSafe for StandardPbrLane
impl Send for StandardPbrLane
impl Sync for StandardPbrLane
impl Unpin for StandardPbrLane
impl UnsafeUnpin for StandardPbrLane
impl !UnwindSafe for StandardPbrLane
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