update_entity_on_backend

Function update_entity_on_backend 

Source
pub fn update_entity_on_backend<B: Backend>(
    entity: Entity,
    scene: &Scene,
    commands: &mut CommandBuffer,
    with_uv: bool,
    new_verts: &DynamicTensorFloat2D,
    new_normals: &DynamicTensorFloat2D,
    new_tangents: Option<DynamicTensorFloat2D>,
    uv: DynamicTensorFloat2D,
    faces: DynamicTensorInt2D,
    _smpl_model: &dyn SmplModel<B>,
)
Expand description

Insert vertices and vertex attributes for the entity based on changes made to it, on a generic Burn Backend. We currently support - Candle, NdArray, and Wgpu