pub struct ShaderPreset;Implementations§
Source§impl ShaderPreset
impl ShaderPreset
Sourcepub fn void_protocol() -> ShaderGraph
pub fn void_protocol() -> ShaderGraph
Void Protocol — swirling void with Lorenz attractor chaos lines. Used for the Void Architect boss encounter.
Sourcepub fn blood_pact() -> ShaderGraph
pub fn blood_pact() -> ShaderGraph
Blood Pact — crimson cascading blood with fractal veins.
Sourcepub fn emerald_engine() -> ShaderGraph
pub fn emerald_engine() -> ShaderGraph
Emerald Engine — mechanical emerald fractals and circuitry.
Sourcepub fn corruption_high() -> ShaderGraph
pub fn corruption_high() -> ShaderGraph
Corruption High — purple-black corruption spreading fractal noise.
Sourcepub fn null_fight() -> ShaderGraph
pub fn null_fight() -> ShaderGraph
Null Fight — black void with sharp white math geometry.
Sourcepub fn paradox_invert() -> ShaderGraph
pub fn paradox_invert() -> ShaderGraph
Paradox Invert — inverted reality with chromatic splitting and recursion.
Sourcepub fn fire_elemental() -> ShaderGraph
pub fn fire_elemental() -> ShaderGraph
Fire Elemental — flickering fire with heat haze and orange-red palette.
Sourcepub fn ice_elemental() -> ShaderGraph
pub fn ice_elemental() -> ShaderGraph
Ice Elemental — crystalline ice with refraction and cold blue palette.
Sourcepub fn aurora() -> ShaderGraph
pub fn aurora() -> ShaderGraph
Aurora — shifting aurora borealis bands.
Sourcepub fn static_noise() -> ShaderGraph
pub fn static_noise() -> ShaderGraph
Static — TV static noise effect.
Sourcepub fn by_name(name: &str) -> Option<ShaderGraph>
pub fn by_name(name: &str) -> Option<ShaderGraph>
Load a preset by name.
Auto Trait Implementations§
impl Freeze for ShaderPreset
impl RefUnwindSafe for ShaderPreset
impl Send for ShaderPreset
impl Sync for ShaderPreset
impl Unpin for ShaderPreset
impl UnsafeUnpin for ShaderPreset
impl UnwindSafe for ShaderPreset
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> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.