Struct naga::back::glsl::PipelineOptions
source · pub struct PipelineOptions {
pub shader_stage: ShaderStage,
pub entry_point: String,
pub multiview: Option<NonZeroU32>,
}
Expand description
A subset of options meant to be changed per pipeline.
Fields§
§shader_stage: ShaderStage
The stage of the entry point.
entry_point: String
The name of the entry point.
If no entry point that matches is found while creating a Writer
, a error will be thrown.
multiview: Option<NonZeroU32>
How many views to render to, if doing multiview rendering.
Trait Implementations§
source§impl Clone for PipelineOptions
impl Clone for PipelineOptions
source§fn clone(&self) -> PipelineOptions
fn clone(&self) -> PipelineOptions
Returns a copy 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 moreAuto Trait Implementations§
impl Freeze for PipelineOptions
impl RefUnwindSafe for PipelineOptions
impl Send for PipelineOptions
impl Sync for PipelineOptions
impl Unpin for PipelineOptions
impl UnwindSafe for PipelineOptions
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