Trait vulkano::pipeline::shader::EntryPointAbstract
[−]
[src]
pub unsafe trait EntryPointAbstract { type PipelineLayout: PipelineLayoutDesc; type SpecializationConstants: SpecializationConstants; fn module(&self) -> &ShaderModule; fn name(&self) -> &CStr; fn layout(&self) -> &Self::PipelineLayout; }
Associated Types
Required Methods
fn module(&self) -> &ShaderModule
Returns the module this entry point comes from.
fn name(&self) -> &CStr
Returns the name of the entry point.
fn layout(&self) -> &Self::PipelineLayout
Returns the pipeline layout used by the shader stage.
Implementors
impl<'a, S, I, O, L> EntryPointAbstract for GraphicsEntryPoint<'a, S, I, O, L> where
L: PipelineLayoutDesc,
I: ShaderInterfaceDef,
O: ShaderInterfaceDef,
S: SpecializationConstants, type PipelineLayout = L; type SpecializationConstants = S;impl<'a, S, L> EntryPointAbstract for ComputeEntryPoint<'a, S, L> where
L: PipelineLayoutDesc,
S: SpecializationConstants, type PipelineLayout = L; type SpecializationConstants = S;impl EntryPointAbstract for EmptyEntryPointDummy type PipelineLayout = EmptyPipelineDesc; type SpecializationConstants = ();