pub struct PipelineOptions {
pub allow_and_force_point_size: bool,
}
Expand description
A subset of options that are meant to be changed per pipeline.
Fields§
§allow_and_force_point_size: bool
Allow BuiltIn::PointSize
and inject it if doesn’t exist.
Metal doesn’t like this for non-point primitive topologies and requires it for point primitive topologies.
Enable this for vertex shaders with point primitive topologies.
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 moresource§impl Debug for PipelineOptions
impl Debug for PipelineOptions
source§impl Default for PipelineOptions
impl Default for PipelineOptions
source§fn default() -> PipelineOptions
fn default() -> PipelineOptions
Returns the “default value” for a type. Read more
source§impl Hash for PipelineOptions
impl Hash for PipelineOptions
source§impl PartialEq for PipelineOptions
impl PartialEq for PipelineOptions
source§fn eq(&self, other: &PipelineOptions) -> bool
fn eq(&self, other: &PipelineOptions) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for PipelineOptions
impl StructuralEq for PipelineOptions
impl StructuralPartialEq for PipelineOptions
Auto Trait Implementations§
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
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.