[−][src]Trait rendology::Drawable
Associated Constants
const INSTANCING_MODE: InstancingMode
The instancing mode supported by this Drawable
.
We use this to check that the supplied glium::Program
is compatible
with the Drawable
.
Required methods
fn draw<U, S>(
&self,
program: &Program,
uniforms: &U,
draw_params: &DrawParameters,
target: &mut S
) -> Result<(), DrawError> where
U: ToUniforms,
S: Surface,
&self,
program: &Program,
uniforms: &U,
draw_params: &DrawParameters,
target: &mut S
) -> Result<(), DrawError> where
U: ToUniforms,
S: Surface,