pub struct GpuSkinner {
pub pipeline: ComputePipeline,
pub vertex_buffers_bgl: BindGroupLayout,
pub skinning_inputs_bgl: BindGroupLayout,
}
Expand description
Holds the necessary wgpu data structures for the GPU skinning compute pass
Fields§
§pipeline: ComputePipeline
§vertex_buffers_bgl: BindGroupLayout
§skinning_inputs_bgl: BindGroupLayout
Implementations§
Source§impl GpuSkinner
impl GpuSkinner
pub fn new(device: &Device) -> GpuSkinner
pub fn execute_pass( &self, device: &Device, encoder: &mut CommandEncoder, buffers: &PreSkinningBuffers, mesh_buffers: &MeshBuffers, skeleton_manager: &SkeletonManager, )
Auto Trait Implementations§
impl Freeze for GpuSkinner
impl !RefUnwindSafe for GpuSkinner
impl Send for GpuSkinner
impl Sync for GpuSkinner
impl Unpin for GpuSkinner
impl !UnwindSafe for GpuSkinner
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