render: add a frame parameter to all shaders
This commit is contained in:
@@ -9,7 +9,7 @@ use std::marker::PhantomData;
|
||||
use std::fmt::Debug;
|
||||
|
||||
pub trait Shader: Send + Debug {
|
||||
fn draw(&self, surface_coords: &VirtualCoordinates) -> RGB8;
|
||||
fn draw(&self, surface_coords: &VirtualCoordinates, frame: usize) -> RGB8;
|
||||
}
|
||||
|
||||
pub trait Surfaces<T: Surface>: Debug {
|
||||
|
Reference in New Issue
Block a user