pub enum LightingPort {
GBuffer(u32),
SceneDepth,
DiffuseLight,
SpecularLight,
ShadowMap,
ScreenSpaceShadows,
AmbientOcclusion,
HdrColour,
}Expand description
The meaning of an image at the lighting boundary, independent of engine names and register numbers.
Variants§
GBuffer(u32)
The raw material output at this attachment, without decoding or re-encoding its surface.
SceneDepth
DiffuseLight
SpecularLight
ShadowMap
A light-space depth image sampled with a comparison sampler.
ScreenSpaceShadows
A screen-space shadow term sampled with an ordinary sampler.
AmbientOcclusion
A screen-space occlusion term, independent of shadow visibility.
HdrColour
Linear lit colour before tone mapping and display encoding.
Trait Implementations§
Source§impl Clone for LightingPort
impl Clone for LightingPort
impl Copy for LightingPort
Source§impl Debug for LightingPort
impl Debug for LightingPort
impl Eq for LightingPort
Source§impl PartialEq for LightingPort
impl PartialEq for LightingPort
Source§impl Serialize for LightingPort
impl Serialize for LightingPort
impl StructuralPartialEq for LightingPort
Auto Trait Implementations§
impl Forget for LightingPort
impl Freeze for LightingPort
impl RefUnwindSafe for LightingPort
impl Send for LightingPort
impl Sync for LightingPort
impl Unpin for LightingPort
impl UnsafeUnpin for LightingPort
impl UnwindSafe for LightingPort
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.