working through the pipeline I have going on for the text stuff

This commit is contained in:
2019-10-08 21:31:57 -07:00
parent 86eb27f86d
commit b1b081af87
4 changed files with 105 additions and 69 deletions

View File

@@ -51,3 +51,18 @@ impl CanvasImage {
}
}
#[derive(Clone)]
pub struct CanvasText {
}
impl CanvasText {
pub fn get_descriptor_set(pipeline: Arc<dyn GraphicsPipelineAbstract + Sync + Send>)
-> Box<dyn DescriptorSet + Send + Sync> {
let o: Box<dyn DescriptorSet + Send + Sync> = Box::new(
PersistentDescriptorSet::start(
pipeline.clone(), 0,
)
.build().unwrap());
o
}
}