Struct vulkano::pipeline::multisample::Multisample
source · pub struct Multisample {
pub rasterization_samples: u32,
pub sample_mask: [u32; 4],
pub sample_shading: Option<f32>,
pub alpha_to_coverage: bool,
pub alpha_to_one: bool,
}
👎Deprecated: No longer needed
Expand description
State of the multisampling.
See the documentation in this module.
Fields
rasterization_samples: u32
👎Deprecated: No longer needed
sample_mask: [u32; 4]
👎Deprecated: No longer needed
sample_shading: Option<f32>
👎Deprecated: No longer needed
alpha_to_coverage: bool
👎Deprecated: No longer needed
alpha_to_one: bool
👎Deprecated: No longer needed
Implementations
sourceimpl Multisample
impl Multisample
pub fn disabled() -> Multisample
Trait Implementations
sourceimpl Clone for Multisample
impl Clone for Multisample
sourcefn clone(&self) -> Multisample
fn clone(&self) -> Multisample
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for Multisample
impl Debug for Multisample
impl Copy for Multisample
Auto Trait Implementations
impl RefUnwindSafe for Multisample
impl Send for Multisample
impl Sync for Multisample
impl Unpin for Multisample
impl UnwindSafe for Multisample
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Content for T
impl<T> Content for T
sourcefn ref_from_ptr<'a>(ptr: *mut c_void, size: usize) -> Option<*mut T>
fn ref_from_ptr<'a>(ptr: *mut c_void, size: usize) -> Option<*mut T>
Builds a pointer to this type from a raw pointer.
sourcefn is_size_suitable(size: usize) -> bool
fn is_size_suitable(size: usize) -> bool
Returns true if the size is suitable to store a type like this.
sourcefn indiv_size() -> usize
fn indiv_size() -> usize
Returns the size of an individual element.