pub struct EntryPoint {
pub exec_model: ExecutionModel,
pub name: String,
pub vars: Vec<Variable>,
pub exec_modes: Vec<ExecutionMode>,
}Expand description
Representing an entry point described in a SPIR-V.
Fields§
§exec_model: ExecutionModelEntry point execution model.
name: StringName of the entry point.
vars: Vec<Variable>Variables that contains specialization constant, input, output and descriptor type information.
Note that it is possible that multiple resources are bound to a same
Locator so this is not a map.
exec_modes: Vec<ExecutionMode>Execution modes the entry point will execute in, including predefined compute shader local sizes and specialization constant IDs of local sizes.
Trait Implementations§
Source§impl Clone for EntryPoint
impl Clone for EntryPoint
Source§fn clone(&self) -> EntryPoint
fn clone(&self) -> EntryPoint
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EntryPoint
impl Debug for EntryPoint
Source§impl Hash for EntryPoint
impl Hash for EntryPoint
Source§impl PartialEq for EntryPoint
impl PartialEq for EntryPoint
impl Eq for EntryPoint
impl StructuralPartialEq for EntryPoint
Auto Trait Implementations§
impl Freeze for EntryPoint
impl RefUnwindSafe for EntryPoint
impl Send for EntryPoint
impl Sync for EntryPoint
impl Unpin for EntryPoint
impl UnwindSafe for EntryPoint
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more