bringing docs up to date
This commit is contained in:
@@ -18,6 +18,7 @@ use crate::canvas::managed::shader::shader_common::{ShaderType, CompiledGraphics
|
||||
use crate::canvas::managed::handles::CompiledShaderHandle;
|
||||
use crate::canvas::managed::shader::dynamic_vertex::RuntimeVertexDef;
|
||||
use crate::canvas::managed::ShaderSpecializationConstants;
|
||||
use crate::util::vertex::VertexTypes;
|
||||
|
||||
/// CanvasShader holds the pipeline and render pass for the input shader source
|
||||
#[derive(Clone)]
|
||||
@@ -32,7 +33,12 @@ pub struct GenericShader {
|
||||
}
|
||||
|
||||
|
||||
impl GenericShader {}
|
||||
impl GenericShader {
|
||||
|
||||
fn get(&self) -> VertexTypes {
|
||||
VertexTypes::ImageType
|
||||
}
|
||||
}
|
||||
|
||||
/// Gives CanvasShader the resource functions
|
||||
impl CompiledGraphicsPipelineResources for GenericShader {}
|
||||
|
||||
Reference in New Issue
Block a user