Struct vulkano::pipeline::shader::ComputeEntryPoint
source · pub struct ComputeEntryPoint<'a, S, L> { /* private fields */ }
Expand description
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.
Trait Implementations
sourceimpl<'a, S: Clone, L: Clone> Clone for ComputeEntryPoint<'a, S, L>
impl<'a, S: Clone, L: Clone> Clone for ComputeEntryPoint<'a, S, L>
sourcefn clone(&self) -> ComputeEntryPoint<'a, S, L>
fn clone(&self) -> ComputeEntryPoint<'a, S, L>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl<'a, S: Debug, L: Debug> Debug for ComputeEntryPoint<'a, S, L>
impl<'a, S: Debug, L: Debug> Debug for ComputeEntryPoint<'a, S, L>
sourceimpl<'a, S, L> EntryPointAbstract for ComputeEntryPoint<'a, S, L>where
L: PipelineLayoutDesc,
S: SpecializationConstants,
impl<'a, S, L> EntryPointAbstract for ComputeEntryPoint<'a, S, L>where
L: PipelineLayoutDesc,
S: SpecializationConstants,
type PipelineLayout = L
type SpecializationConstants = S
sourcefn module(&self) -> &ShaderModule
fn module(&self) -> &ShaderModule
Returns the module this entry point comes from.
impl<'a, S: Copy, L: Copy> Copy for ComputeEntryPoint<'a, S, L>
Auto Trait Implementations
impl<'a, S, L> RefUnwindSafe for ComputeEntryPoint<'a, S, L>where
L: RefUnwindSafe,
S: RefUnwindSafe,
impl<'a, S, L> Send for ComputeEntryPoint<'a, S, L>where
L: Send,
S: Send,
impl<'a, S, L> Sync for ComputeEntryPoint<'a, S, L>where
L: Sync,
S: Sync,
impl<'a, S, L> Unpin for ComputeEntryPoint<'a, S, L>where
L: Unpin,
S: Unpin,
impl<'a, S, L> UnwindSafe for ComputeEntryPoint<'a, S, L>where
L: UnwindSafe,
S: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Content for T
impl<T> Content for T
sourcefn ref_from_ptr<'a>(ptr: *mut c_void, size: usize) -> Option<*mut T>
fn ref_from_ptr<'a>(ptr: *mut c_void, size: usize) -> Option<*mut T>
Builds a pointer to this type from a raw pointer.
sourcefn is_size_suitable(size: usize) -> bool
fn is_size_suitable(size: usize) -> bool
Returns true if the size is suitable to store a type like this.
sourcefn indiv_size() -> usize
fn indiv_size() -> usize
Returns the size of an individual element.