Struct SyncedInstanceTransform
#[repr(C)]pub struct SyncedInstanceTransform {
pub node_index: u32,
pub mesh_handle: u32,
pub world_motor_r: [f32; 4],
pub world_motor_d: [f32; 4],
pub world_scale_alpha: [f32; 4],
pub metadata_packed: [u32; 4],
}Expand description
Dirty GPU instance transform emitted during propagate_transforms_zero_heap.
Fields§
§node_index: u32Source node slot index in the scene pool.
mesh_handle: u32Asset / mesh handle (u32::MAX for non-mesh nodes).
world_motor_r: [f32; 4]Composed world-space PGA Motor rotor r [s, e12, e13, e23].
world_motor_d: [f32; 4]Composed world-space PGA Motor dual d [e0123, e03, e02, e01].
world_scale_alpha: [f32; 4]Composed world-space scale [sx, sy, sz] and perceptual salience alpha.
metadata_packed: [u32; 4]Semantic entity token (u64 split into [lo, hi]), material_id, and proc_header_handle.
Trait Implementations§
§impl Clone for SyncedInstanceTransform
impl Clone for SyncedInstanceTransform
§fn clone(&self) -> SyncedInstanceTransform
fn clone(&self) -> SyncedInstanceTransform
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 moreimpl Copy for SyncedInstanceTransform
§impl Debug for SyncedInstanceTransform
impl Debug for SyncedInstanceTransform
§impl PartialEq for SyncedInstanceTransform
impl PartialEq for SyncedInstanceTransform
impl Pod for SyncedInstanceTransform
impl StructuralPartialEq for SyncedInstanceTransform
Auto Trait Implementations§
impl Freeze for SyncedInstanceTransform
impl RefUnwindSafe for SyncedInstanceTransform
impl Send for SyncedInstanceTransform
impl Sync for SyncedInstanceTransform
impl Unpin for SyncedInstanceTransform
impl UnsafeUnpin for SyncedInstanceTransform
impl UnwindSafe for SyncedInstanceTransform
Blanket Implementations§
§impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
Aggregate shares in an MPC protocol.
impl<T> AnyBitPattern for Twhere
T: Pod,
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
§impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
§type Bits = T
type Bits = T
Self must have the same layout as the specified Bits except for
the possible invalid bit patterns being checked during
is_valid_bit_pattern.§fn is_valid_bit_pattern(_bits: &T) -> bool
fn is_valid_bit_pattern(_bits: &T) -> bool
If this function returns true, then it must be valid to reinterpret
bits
as &Self.Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
impl<T> Interleave for Twhere
T: Pod,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more