pub struct SpineRenderer { /* private fields */ }Implementations§
Source§impl SpineRenderer
impl SpineRenderer
pub fn new(device: &Device, color_format: TextureFormat) -> Self
pub fn texture_bind_group_layout(&self) -> &BindGroupLayout
pub fn update_globals_ortho_centered( &self, queue: &Queue, width: f32, height: f32, )
pub fn update_globals_matrix( &self, queue: &Queue, clip_from_world: [[f32; 4]; 4], )
pub fn upload(&mut self, device: &Device, queue: &Queue, draw_list: &DrawList)
pub fn render<'a>( &'a self, pass: &mut RenderPass<'a>, draw_list: &'a DrawList, textures: &'a dyn TextureProvider, )
Auto Trait Implementations§
impl Freeze for SpineRenderer
impl !RefUnwindSafe for SpineRenderer
impl Send for SpineRenderer
impl Sync for SpineRenderer
impl Unpin for SpineRenderer
impl !UnwindSafe for SpineRenderer
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