Struct vulkano::pipeline::shader::ComputeShaderEntryPoint
[−]
[src]
pub struct ComputeShaderEntryPoint<'a, S, L, P = Arc<Device>> where
P: 'a + SafeDeref<Target = Device>, { /* fields omitted */ }
Represents the entry point of a compute shader in a shader module.
Can be obtained by calling compute_shader_entry_point()
on the shader module.
Methods
impl<'a, S, L, P> ComputeShaderEntryPoint<'a, S, L, P> where
P: 'a + SafeDeref<Target = Device>,
[src]
P: 'a + SafeDeref<Target = Device>,
fn module(&self) -> &'a ShaderModule<P>
Returns the module this entry point comes from.
fn name(&self) -> &'a CStr
Returns the name of the entry point.
fn layout(&self) -> &L
Returns the pipeline layout used by the shader stage.
Trait Implementations
impl<'a, S: Debug, L: Debug, P: Debug> Debug for ComputeShaderEntryPoint<'a, S, L, P> where
P: 'a + SafeDeref<Target = Device>,
[src]
P: 'a + SafeDeref<Target = Device>,
impl<'a, S: Copy, L: Copy, P: Copy> Copy for ComputeShaderEntryPoint<'a, S, L, P> where
P: 'a + SafeDeref<Target = Device>,
[src]
P: 'a + SafeDeref<Target = Device>,
impl<'a, S: Clone, L: Clone, P: Clone> Clone for ComputeShaderEntryPoint<'a, S, L, P> where
P: 'a + SafeDeref<Target = Device>,
[src]
P: 'a + SafeDeref<Target = Device>,
fn clone(&self) -> ComputeShaderEntryPoint<'a, S, L, P>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more