going to save here. re-evaluating drawable now that runtimevertexdef is in
This commit is contained in:
@@ -8,7 +8,7 @@ use vulkano::pipeline::shader::{ShaderModule, GraphicsShaderType, GeometryShader
|
||||
use vulkano::device::Device;
|
||||
use shade_runner::Entry;
|
||||
use shaderc::ShaderKind;
|
||||
use crate::canvas::managed::handles::CompiledGraphicsPipelineHandle;
|
||||
use crate::canvas::managed::handles::CompiledShaderHandle;
|
||||
|
||||
/*
|
||||
|
||||
@@ -102,10 +102,10 @@ pub trait CompiledGraphicsPipelineResources {
|
||||
pub trait CompiledGraphicsPipeline {
|
||||
fn new(filename: String,
|
||||
device: Arc<Device>,
|
||||
handle: Arc<CompiledGraphicsPipelineHandle>,
|
||||
handle: Arc<CompiledShaderHandle>,
|
||||
render_pass: Arc<dyn RenderPassAbstract + Send + Sync>) -> Self where Self: Sized;
|
||||
fn get_name(&self) -> String;
|
||||
fn get_handle(&self) -> Arc<CompiledGraphicsPipelineHandle>;
|
||||
fn get_handle(&self) -> Arc<CompiledShaderHandle>;
|
||||
fn get_pipeline(&self) -> Arc<dyn GraphicsPipelineAbstract + Sync + Send>;
|
||||
fn get_renderpass(&self) -> Arc<dyn RenderPassAbstract + Send + Sync>;
|
||||
fn recompile(self, render_pass: Arc<dyn RenderPassAbstract + Send + Sync>)
|
||||
|
||||
Reference in New Issue
Block a user