Trait vulkano::pipeline::shader::GraphicsEntryPointAbstract
source · 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;
}
Required Associated Types
Required Methods
sourcefn input(&self) -> &Self::InputDefinition
fn input(&self) -> &Self::InputDefinition
Returns the input attributes used by the shader stage.
sourcefn output(&self) -> &Self::OutputDefinition
fn output(&self) -> &Self::OutputDefinition
Returns the output attributes used by the shader stage.
sourcefn ty(&self) -> GraphicsShaderType
fn ty(&self) -> GraphicsShaderType
Returns the type of shader.