in the middle of expirimenting with was to implement this drawable api
This commit is contained in:
@@ -22,11 +22,11 @@ use sprite::Sprite;
|
||||
|
||||
use crate::util::load_raw;
|
||||
|
||||
use crate::sprite::{Poly, Text};
|
||||
use crate::sprite::{Poly, Text, TextHandle, TextVertex, TextInstance};
|
||||
use vulkano::instance::debug::DebugCallback;
|
||||
use crate::compute::compu_sprite::CompuSprite;
|
||||
use crate::compute::compu_frame::CompuFrame;
|
||||
use crate::canvas::canvas_frame::CanvasFrame;
|
||||
use crate::canvas::canvas_frame::{CanvasFrame, GenericCanvasFrame};
|
||||
|
||||
|
||||
pub mod util;
|
||||
@@ -169,7 +169,8 @@ pub fn main() {
|
||||
canvas.draw(&funky_sprite);
|
||||
canvas.draw(&test_polygon);
|
||||
|
||||
|
||||
let mut gencanvas = GenericCanvasFrame::new();
|
||||
gencanvas.draw(&text_sprite);
|
||||
|
||||
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user