pub struct SkyboxPass {
pub exposure: f32,
pub rotation: f32,
pub blur_level: f32,
}Expand description
Renders the skybox / environment behind all geometry.
Fields§
§exposure: f32§rotation: f32§blur_level: f32Implementations§
Source§impl SkyboxPass
impl SkyboxPass
pub fn new() -> Self
pub fn register( &self, builder: &mut RenderGraphBuilder, depth: ResourceHandle, hdr_color: ResourceHandle, )
Trait Implementations§
Source§impl BuiltinPass for SkyboxPass
impl BuiltinPass for SkyboxPass
Source§fn input_names(&self) -> Vec<&str>
fn input_names(&self) -> Vec<&str>
Names of resources this pass reads.
Source§fn output_names(&self) -> Vec<&str>
fn output_names(&self) -> Vec<&str>
Names of resources this pass writes.
Source§fn execute(&self, ctx: &PassContext)
fn execute(&self, ctx: &PassContext)
Execute the pass (simulated rendering logic).
Source§fn queue_affinity(&self) -> QueueAffinity
fn queue_affinity(&self) -> QueueAffinity
Queue affinity.
Source§fn condition(&self) -> PassCondition
fn condition(&self) -> PassCondition
Optional condition for this pass.
Source§fn resolution_scale(&self) -> ResolutionScale
fn resolution_scale(&self) -> ResolutionScale
Resolution scale for this pass.
Auto Trait Implementations§
impl Freeze for SkyboxPass
impl RefUnwindSafe for SkyboxPass
impl Send for SkyboxPass
impl Sync for SkyboxPass
impl Unpin for SkyboxPass
impl UnsafeUnpin for SkyboxPass
impl UnwindSafe for SkyboxPass
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