Struct vulkano::pipeline::shader::GraphicsEntryPoint
source · pub struct GraphicsEntryPoint<'a, S, I, O, L> { /* private fields */ }
Expand description
Represents a shader entry point in a shader module.
Can be obtained by calling entry_point()
on the shader module.
Trait Implementations
sourceimpl<'a, S: Clone, I: Clone, O: Clone, L: Clone> Clone for GraphicsEntryPoint<'a, S, I, O, L>
impl<'a, S: Clone, I: Clone, O: Clone, L: Clone> Clone for GraphicsEntryPoint<'a, S, I, O, L>
sourcefn clone(&self) -> GraphicsEntryPoint<'a, S, I, O, L>
fn clone(&self) -> GraphicsEntryPoint<'a, S, I, O, 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, I, O, L> EntryPointAbstract for GraphicsEntryPoint<'a, S, I, O, L>where
L: PipelineLayoutDesc,
I: ShaderInterfaceDef,
O: ShaderInterfaceDef,
S: SpecializationConstants,
impl<'a, S, I, O, L> EntryPointAbstract for GraphicsEntryPoint<'a, S, I, O, L>where
L: PipelineLayoutDesc,
I: ShaderInterfaceDef,
O: ShaderInterfaceDef,
S: SpecializationConstants,
type PipelineLayout = L
type SpecializationConstants = S
sourcefn module(&self) -> &ShaderModule
fn module(&self) -> &ShaderModule
Returns the module this entry point comes from.
sourceimpl<'a, S, I, O, L> GraphicsEntryPointAbstract for GraphicsEntryPoint<'a, S, I, O, L>where
L: PipelineLayoutDesc,
I: ShaderInterfaceDef,
O: ShaderInterfaceDef,
S: SpecializationConstants,
impl<'a, S, I, O, L> GraphicsEntryPointAbstract for GraphicsEntryPoint<'a, S, I, O, L>where
L: PipelineLayoutDesc,
I: ShaderInterfaceDef,
O: ShaderInterfaceDef,
S: SpecializationConstants,
type InputDefinition = I
type OutputDefinition = O
sourcefn ty(&self) -> GraphicsShaderType
fn ty(&self) -> GraphicsShaderType
Returns the type of shader.
impl<'a, S: Copy, I: Copy, O: Copy, L: Copy> Copy for GraphicsEntryPoint<'a, S, I, O, L>
Auto Trait Implementations
impl<'a, S, I, O, L> RefUnwindSafe for GraphicsEntryPoint<'a, S, I, O, L>where
I: RefUnwindSafe,
L: RefUnwindSafe,
O: RefUnwindSafe,
S: RefUnwindSafe,
impl<'a, S, I, O, L> Send for GraphicsEntryPoint<'a, S, I, O, L>where
I: Send,
L: Send,
O: Send,
S: Send,
impl<'a, S, I, O, L> Sync for GraphicsEntryPoint<'a, S, I, O, L>where
I: Sync,
L: Sync,
O: Sync,
S: Sync,
impl<'a, S, I, O, L> Unpin for GraphicsEntryPoint<'a, S, I, O, L>where
I: Unpin,
L: Unpin,
O: Unpin,
S: Unpin,
impl<'a, S, I, O, L> UnwindSafe for GraphicsEntryPoint<'a, S, I, O, L>where
I: UnwindSafe,
L: UnwindSafe,
O: 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.