piping everything through. Almost done
This commit is contained in:
@@ -1,8 +1,7 @@
|
||||
use crate::util::vertex_3d::{Vertex3D};
|
||||
use std::sync::Arc;
|
||||
use std::collections::HashMap;
|
||||
use crate::canvas::canvas_state::{Drawable, CanvasTextureHandle, CanvasImageHandle};
|
||||
use crate::canvas::canvas_text::CanvasFontHandle;
|
||||
use crate::canvas::canvas_state::{Drawable, CanvasTextureHandle, CanvasImageHandle, CanvasFontHandle};
|
||||
use crate::canvas::shader::text_shader::GlyphInstance;
|
||||
|
||||
///
|
||||
@@ -13,6 +12,10 @@ pub struct CanvasFrame {
|
||||
pub text_drawables: HashMap<Arc<CanvasFontHandle>, Vec<GlyphInstance>>
|
||||
}
|
||||
|
||||
pub struct GenericCanvasFrame<V, H, Im, In, T> {
|
||||
frame_data: HashMap<Arc<H>, Vec<(V, Im, In, T)>>
|
||||
}
|
||||
|
||||
impl CanvasFrame {
|
||||
|
||||
/// Creates a bare canvas frame with empty accumulators
|
||||
|
||||
Reference in New Issue
Block a user