pub enum RenderingStrategy {
Unlit,
LitForward,
StandardPbr,
ForwardPlus,
Auto,
}Expand description
Rendering strategy selection mode.
Variants§
Unlit
Simple unlit rendering (vertex colors only).
LitForward
Standard forward rendering with lighting (Blinn-Phong).
StandardPbr
Full PBR (Cook-Torrance) forward rendering with shadows.
ForwardPlus
Forward+ (tiled forward) rendering with compute-based light culling.
Auto
Automatic selection based on scene complexity (light count).
Trait Implementations§
Source§impl Clone for RenderingStrategy
impl Clone for RenderingStrategy
Source§fn clone(&self) -> RenderingStrategy
fn clone(&self) -> RenderingStrategy
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RenderingStrategy
impl Debug for RenderingStrategy
Source§impl Default for RenderingStrategy
impl Default for RenderingStrategy
Source§fn default() -> RenderingStrategy
fn default() -> RenderingStrategy
Returns the “default value” for a type. Read more
Source§impl PartialEq for RenderingStrategy
impl PartialEq for RenderingStrategy
Source§fn eq(&self, other: &RenderingStrategy) -> bool
fn eq(&self, other: &RenderingStrategy) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for RenderingStrategy
impl Eq for RenderingStrategy
impl StructuralPartialEq for RenderingStrategy
Auto Trait Implementations§
impl Freeze for RenderingStrategy
impl RefUnwindSafe for RenderingStrategy
impl Send for RenderingStrategy
impl Sync for RenderingStrategy
impl Unpin for RenderingStrategy
impl UnsafeUnpin for RenderingStrategy
impl UnwindSafe for RenderingStrategy
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.