Struct wgpu_hal::ProgrammableStage
source · [−]pub struct ProgrammableStage<'a, A: Api> {
pub module: &'a A::ShaderModule,
pub entry_point: &'a str,
}
Expand description
Describes a programmable pipeline stage.
Fields
module: &'a A::ShaderModule
The compiled shader module for this stage.
entry_point: &'a str
The name of the entry point in the compiled shader. There must be a function that returns void with this name in the shader.
Trait Implementations
Auto Trait Implementations
impl<'a, A> RefUnwindSafe for ProgrammableStage<'a, A> where
<A as Api>::ShaderModule: RefUnwindSafe,
impl<'a, A> Send for ProgrammableStage<'a, A>
impl<'a, A> Sync for ProgrammableStage<'a, A>
impl<'a, A> Unpin for ProgrammableStage<'a, A>
impl<'a, A> UnwindSafe for ProgrammableStage<'a, A> where
<A as Api>::ShaderModule: RefUnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more