Struct vulkano::pipeline::shader::GraphicsEntryPoint
[−]
[src]
pub struct GraphicsEntryPoint<'a, S, I, O, L> { /* fields omitted */ }
Represents a shader entry point in a shader module.
Can be obtained by calling entry_point()
on the shader module.
Trait Implementations
impl<'a, S: Debug, I: Debug, O: Debug, L: Debug> Debug for GraphicsEntryPoint<'a, S, I, O, L>
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl<'a, S: Copy, I: Copy, O: Copy, L: Copy> Copy for GraphicsEntryPoint<'a, S, I, O, L>
[src]
impl<'a, S: Clone, I: Clone, O: Clone, L: Clone> Clone for GraphicsEntryPoint<'a, S, I, O, L>
[src]
fn clone(&self) -> GraphicsEntryPoint<'a, S, I, O, L>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<'a, S, I, O, L> EntryPointAbstract for GraphicsEntryPoint<'a, S, I, O, L> where
L: PipelineLayoutDesc,
I: ShaderInterfaceDef,
O: ShaderInterfaceDef,
S: SpecializationConstants,
[src]
L: PipelineLayoutDesc,
I: ShaderInterfaceDef,
O: ShaderInterfaceDef,
S: SpecializationConstants,
type PipelineLayout = L
type SpecializationConstants = S
fn module(&self) -> &ShaderModule
[src]
Returns the module this entry point comes from.
fn name(&self) -> &CStr
[src]
Returns the name of the entry point.
fn layout(&self) -> &L
[src]
Returns the pipeline layout used by the shader stage.
impl<'a, S, I, O, L> GraphicsEntryPointAbstract for GraphicsEntryPoint<'a, S, I, O, L> where
L: PipelineLayoutDesc,
I: ShaderInterfaceDef,
O: ShaderInterfaceDef,
S: SpecializationConstants,
[src]
L: PipelineLayoutDesc,
I: ShaderInterfaceDef,
O: ShaderInterfaceDef,
S: SpecializationConstants,
type InputDefinition = I
type OutputDefinition = O
fn input(&self) -> &I
[src]
Returns the input attributes used by the shader stage.
fn output(&self) -> &O
[src]
Returns the output attributes used by the shader stage.
fn ty(&self) -> GraphicsShaderType
[src]
Returns the type of shader.