#[repr(C, align(16))]pub struct GpuSkinningInput {
pub mesh_range: UVec2,
pub skeleton_range: UVec2,
pub joint_idx: u32,
}
Expand description
The per-skeleton data, as uploaded to the GPU compute shader.
Fields§
§mesh_range: UVec2
§skeleton_range: UVec2
§joint_idx: u32
The index of this skeleton’s first joint in the global joint matrix buffer.
Trait Implementations§
Source§impl Clone for GpuSkinningInput
impl Clone for GpuSkinningInput
Source§fn clone(&self) -> GpuSkinningInput
fn clone(&self) -> GpuSkinningInput
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy for GpuSkinningInput
Auto Trait Implementations§
impl Freeze for GpuSkinningInput
impl RefUnwindSafe for GpuSkinningInput
impl Send for GpuSkinningInput
impl Sync for GpuSkinningInput
impl Unpin for GpuSkinningInput
impl UnwindSafe for GpuSkinningInput
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