going to save here. re-evaluating drawable now that runtimevertexdef is in
This commit is contained in:
14
src/main.rs
14
src/main.rs
@@ -25,8 +25,9 @@ use crate::util::load_raw;
|
||||
use crate::sprite::{Poly, Text, TextHandle, TextVertex, TextInstance};
|
||||
use vulkano::instance::debug::DebugCallback;
|
||||
use crate::compute::compu_frame::CompuFrame;
|
||||
use crate::canvas::canvas_frame::{CanvasFrame, GenericCanvasFrame};
|
||||
use crate::canvas::canvas_frame::{CanvasFrame, DrawableTestee};
|
||||
use crate::compute::managed::compu_sprite::CompuSprite;
|
||||
use std::sync::Arc;
|
||||
|
||||
|
||||
pub mod util;
|
||||
@@ -86,6 +87,17 @@ pub fn main() {
|
||||
processor.preload_fonts();
|
||||
}
|
||||
|
||||
let mut v = vec![];
|
||||
|
||||
let d = DrawableTestee {
|
||||
vertices: vec![],
|
||||
instances: vec![],
|
||||
handle: Arc::new(Default::default())
|
||||
};
|
||||
|
||||
v.push(d);
|
||||
|
||||
|
||||
let q2 = hprof::enter("Game Objects");
|
||||
|
||||
let mut timer = Timer::new();
|
||||
|
||||
Reference in New Issue
Block a user