working through the pipeline I have going on for the text stuff
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user