pub struct FallbackCoordinates {
pub slot: TextureSlot,
pub absent_texture_set: u8,
pub absent_stream: [u32; 2],
}Expand description
Coordinates resolved through a drawn material’s PBR texture reference, distinct from a raw mesh UV stream.
Read the reference’s UV set and apply its transform once per vertex, in the transform’s stored order. With
no reference use absent_texture_set with no transform; with no such stream use absent_stream float words.
Fields§
§slot: TextureSlot§absent_texture_set: u8§absent_stream: [u32; 2]Trait Implementations§
Source§impl Clone for FallbackCoordinates
impl Clone for FallbackCoordinates
Source§impl Debug for FallbackCoordinates
impl Debug for FallbackCoordinates
impl Eq for FallbackCoordinates
Source§impl Hash for FallbackCoordinates
impl Hash for FallbackCoordinates
Source§impl PartialEq for FallbackCoordinates
impl PartialEq for FallbackCoordinates
Source§impl Serialize for FallbackCoordinates
impl Serialize for FallbackCoordinates
impl StructuralPartialEq for FallbackCoordinates
Auto Trait Implementations§
impl Forget for FallbackCoordinates
impl Freeze for FallbackCoordinates
impl RefUnwindSafe for FallbackCoordinates
impl Send for FallbackCoordinates
impl Sync for FallbackCoordinates
impl Unpin for FallbackCoordinates
impl UnsafeUnpin for FallbackCoordinates
impl UnwindSafe for FallbackCoordinates
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.