working on dynamic v's

This commit is contained in:
2020-01-20 21:42:13 -08:00
parent 8a83a1f12a
commit 11701542e2
3 changed files with 31 additions and 5 deletions

View File

@@ -9,6 +9,8 @@ use vulkano::buffer::{CpuAccessibleBuffer, BufferAccess};
use vulkano::pipeline::GraphicsPipelineAbstract;
use rusttype::Font;
/// Canvas buffer which represents an allocated Texture with a key and dimensions
#[derive(Clone)]
pub struct CanvasTexture {
pub(crate) handle: Arc<CanvasTextureHandle>,
@@ -31,6 +33,7 @@ impl CanvasTexture {
}
}
/// Canvas buffer which represents an allocated image and dimension
#[derive(Clone)]
pub struct CanvasImage {
pub(crate) handle: Arc<CanvasImageHandle>,