working on dynamic v's
This commit is contained in:
@@ -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>,
|
||||
|
||||
Reference in New Issue
Block a user