[][src]Trait vulkano::pipeline::shader::EntryPointAbstract

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

type PipelineLayout: PipelineLayoutDesc

type SpecializationConstants: SpecializationConstants

Loading content...

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.

Loading content...

Implementors

impl EntryPointAbstract for EmptyEntryPointDummy[src]

impl<'a, S, I, O, L> EntryPointAbstract for GraphicsEntryPoint<'a, S, I, O, L> where
    L: PipelineLayoutDesc,
    I: ShaderInterfaceDef,
    O: ShaderInterfaceDef,
    S: SpecializationConstants
[src]

type PipelineLayout = L

type SpecializationConstants = S

impl<'a, S, L> EntryPointAbstract for ComputeEntryPoint<'a, S, L> where
    L: PipelineLayoutDesc,
    S: SpecializationConstants
[src]

type PipelineLayout = L

type SpecializationConstants = S

Loading content...