pub struct EntryPoint<'a, B: Backend> {
pub entry: &'a str,
pub module: &'a B::ShaderModule,
pub specialization: Specialization<'a>,
}
Expand description
Shader entry point.
Fields§
§entry: &'a str
Entry point name.
module: &'a B::ShaderModule
Reference to the shader module containing this entry point.
specialization: Specialization<'a>
Specialization constants to be used when creating the pipeline.
Trait Implementations§
Source§impl<'a, B: Backend> Clone for EntryPoint<'a, B>
impl<'a, B: Backend> Clone for EntryPoint<'a, B>
Auto Trait Implementations§
impl<'a, B> Freeze for EntryPoint<'a, B>
impl<'a, B> RefUnwindSafe for EntryPoint<'a, B>
impl<'a, B> Send for EntryPoint<'a, B>
impl<'a, B> Sync for EntryPoint<'a, B>
impl<'a, B> Unpin for EntryPoint<'a, B>
impl<'a, B> UnwindSafe for EntryPoint<'a, B>
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