weird old canvas version hanging around

This commit is contained in:
2020-02-04 19:56:43 -08:00
parent 4b8fffc6bf
commit bb5617420e
31749 changed files with 576 additions and 1220832 deletions

View File

@@ -6,8 +6,10 @@ use crate::canvas::shader::text_shader::GlyphInstance;
use std::hash::Hash;
use crate::canvas::*;
use crate::canvas::shader::dynamic_vertex::RuntimeVertexDef;
use crate::canvas::canvas_state::CanvasFontHandle;
///
/// I dont know why this isnt working
/// fqowiejf
pub struct CanvasFrame {
pub colored_drawables: Vec<RuntimeVertexDef>,
pub textured_drawables: HashMap<Arc<CanvasTextureHandle>, Vec<Vec<RuntimeVertexDef>>>,
@@ -78,9 +80,10 @@ frame.draw(text);
vkprocessor.run(frame);
*/
impl CanvasFrame {
/// Creates a bare canvas frame with empty accumulators
/// Creates a bare canvas frame with empty accumulators a
pub fn new() -> CanvasFrame {
CanvasFrame {
colored_drawables: vec![],