pub enum InputFallbackValue {
Normal,
MaterialVertexColour {
absent: [u32; 4],
},
MaterialCoordinates(FallbackCoordinates),
Literal([u32; 4]),
}Expand description
The base value of a replacement input, before any source-proved coordinate copies.
Variants§
Normal
The drawn surface’s normalized world normal, xyz, with w=0. Generic geometry normal generation is separate.
MaterialVertexColour
COLOR_0 as surface colour, honoring core.vertex_color. Ignored or absent colour uses the stated float
words; the PBR base-colour factor is not multiplied into this value. Raw Stream(Color(0)) ignores that policy.
MaterialCoordinates(FallbackCoordinates)
The material-resolved coordinate pair repeated as xyxy. Raw Stream(TexCoord(n)) applies no PBR transform.
Literal([u32; 4])
Four finite IEEE-754 float words, stated by the source, not invented by the consumer.
Trait Implementations§
Source§impl Clone for InputFallbackValue
impl Clone for InputFallbackValue
Source§impl Debug for InputFallbackValue
impl Debug for InputFallbackValue
impl Eq for InputFallbackValue
Source§impl Hash for InputFallbackValue
impl Hash for InputFallbackValue
Source§impl PartialEq for InputFallbackValue
impl PartialEq for InputFallbackValue
Source§impl Serialize for InputFallbackValue
impl Serialize for InputFallbackValue
impl StructuralPartialEq for InputFallbackValue
Auto Trait Implementations§
impl Forget for InputFallbackValue
impl Freeze for InputFallbackValue
impl RefUnwindSafe for InputFallbackValue
impl Send for InputFallbackValue
impl Sync for InputFallbackValue
impl Unpin for InputFallbackValue
impl UnsafeUnpin for InputFallbackValue
impl UnwindSafe for InputFallbackValue
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.