pub fn render<Device>(
        &self,
        render_ctx: &mut impl RenderContext,
        sprite: &WGPUSprite<Device>,
    ) -> Result<()>
    where
        Device: WGPUDevice,
    {
        sprite.render(render_ctx, self)
    }
/// Invoke the render command, for the given sprite, in the specified context
Invoke the render command, for the given sprite, in the specified context
Invoke the render command for the given sprite in the specified context
pub fn render<Device>(
        &self,
        render_ctx: &mut impl RenderContext,
        sprite: &WGPUSprite<Device>,
    ) -> Result<()>
    where
        Device: WGPUDevice,
    {
        sprite.render(render_ctx, self)
    }
pub fn render < Device > ( & self , render_ctx : & mut impl RenderContext , sprite : & WGPUSprite < Device > , ) -> Result < ( ) > where Device : WGPUDevice , { sprite . render ( render_ctx , self ) }
Invoke the render command, for the given sprite, in the specified context
Invoke the render command for the given sprite in the specified context
&self
render_ctx
&mut impl RenderContext
sprite
&WGPUSprite<Device>
&self
render_ctx
&mut impl RenderContext
sprite
&WGPUSprite<Device>