pub enum SceneView {
Camera,
ShadowCascade {
cascade: u8,
region: Region,
},
LocalShadow,
}Expand description
The view a scene step draws from.
Variants§
Camera
The frame’s camera.
ShadowCascade
Cascade cascade of the sun’s shadow (its matrix the role ViewParameter::ShadowCascadeMatrix(cascade)), drawn
into region of the depth target: an atlas holds several cascades side by side (Sekiro’s four 2048 x 2048
quarters of one 4096 x 4096 target).
LocalShadow
A local light’s view of the shadow casters around it, drawn into a region of the depth target that each run
places itself (its viewport): a step that runs once per region of a local lights’ shadow atlas
(Runs::Each), Elden Ring’s 64 x 64 regions of its 4096 x 4096 atlas. Which light and which face a run is for
is not stated.
Trait Implementations§
impl Copy for SceneView
impl Eq for SceneView
impl StructuralPartialEq for SceneView
Auto Trait Implementations§
impl Forget for SceneView
impl Freeze for SceneView
impl RefUnwindSafe for SceneView
impl Send for SceneView
impl Sync for SceneView
impl Unpin for SceneView
impl UnsafeUnpin for SceneView
impl UnwindSafe for SceneView
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.