Trait vulkano::pipeline::shader::EntryPointAbstract
source · pub unsafe trait EntryPointAbstract {
type PipelineLayout: PipelineLayoutDesc;
type SpecializationConstants: SpecializationConstants;
fn module(&self) -> &ShaderModule;
fn name(&self) -> &CStr;
fn layout(&self) -> &Self::PipelineLayout;
}
Required Associated Types
type PipelineLayout: PipelineLayoutDesc
type SpecializationConstants: SpecializationConstants
Required Methods
sourcefn module(&self) -> &ShaderModule
fn module(&self) -> &ShaderModule
Returns the module this entry point comes from.
sourcefn layout(&self) -> &Self::PipelineLayout
fn layout(&self) -> &Self::PipelineLayout
Returns the pipeline layout used by the shader stage.