Trait vulkano::pipeline::shader::GraphicsEntryPointAbstract
[−]
[src]
pub unsafe trait GraphicsEntryPointAbstract: EntryPointAbstract { type InputDefinition: ShaderInterfaceDef; type OutputDefinition: ShaderInterfaceDef; fn input(&self) -> &Self::InputDefinition; fn output(&self) -> &Self::OutputDefinition; fn ty(&self) -> GraphicsShaderType; }
Associated Types
Required Methods
fn input(&self) -> &Self::InputDefinition
Returns the input attributes used by the shader stage.
fn output(&self) -> &Self::OutputDefinition
Returns the output attributes used by the shader stage.
fn ty(&self) -> GraphicsShaderType
Returns the type of shader.
Implementors
impl<'a, S, I, O, L> GraphicsEntryPointAbstract for GraphicsEntryPoint<'a, S, I, O, L> where
L: PipelineLayoutDesc,
I: ShaderInterfaceDef,
O: ShaderInterfaceDef,
S: SpecializationConstants, type InputDefinition = I; type OutputDefinition = O;impl GraphicsEntryPointAbstract for EmptyEntryPointDummy type InputDefinition = EmptyShaderInterfaceDef; type OutputDefinition = EmptyShaderInterfaceDef;