#[repr(transparent)]pub struct MTLVisibilityResultType(pub NSInteger);Available on crate feature
MTLRenderPass only.Expand description
This enumeration controls if Metal accumulates visibility results between render encoders or resets them.
You can specify this property for MTLRenderCommandEncoders and for MTL4RenderCommandEncoders through
their descriptors’ MTLRenderCommandEncoder/visibilityResultType and MTL4RenderCommandEncoder/visibilityResultType
methods.
See also Apple’s documentation
Tuple Fields§
§0: NSIntegerImplementations§
Source§impl MTLVisibilityResultType
impl MTLVisibilityResultType
Sourcepub const Accumulate: Self
pub const Accumulate: Self
Accumulate visibility results data across multiple render passes.
Trait Implementations§
Source§impl Clone for MTLVisibilityResultType
impl Clone for MTLVisibilityResultType
Source§fn clone(&self) -> MTLVisibilityResultType
fn clone(&self) -> MTLVisibilityResultType
Returns a duplicate 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 MTLVisibilityResultType
impl Debug for MTLVisibilityResultType
Source§impl Encode for MTLVisibilityResultType
impl Encode for MTLVisibilityResultType
Source§impl Hash for MTLVisibilityResultType
impl Hash for MTLVisibilityResultType
Source§impl Ord for MTLVisibilityResultType
impl Ord for MTLVisibilityResultType
Source§fn cmp(&self, other: &MTLVisibilityResultType) -> Ordering
fn cmp(&self, other: &MTLVisibilityResultType) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for MTLVisibilityResultType
impl PartialEq for MTLVisibilityResultType
Source§impl PartialOrd for MTLVisibilityResultType
impl PartialOrd for MTLVisibilityResultType
Source§impl RefEncode for MTLVisibilityResultType
impl RefEncode for MTLVisibilityResultType
Source§const ENCODING_REF: Encoding
const ENCODING_REF: Encoding
The Objective-C type-encoding for a reference of this type. Read more
impl Copy for MTLVisibilityResultType
impl Eq for MTLVisibilityResultType
impl StructuralPartialEq for MTLVisibilityResultType
Auto Trait Implementations§
impl Freeze for MTLVisibilityResultType
impl RefUnwindSafe for MTLVisibilityResultType
impl Send for MTLVisibilityResultType
impl Sync for MTLVisibilityResultType
impl Unpin for MTLVisibilityResultType
impl UnwindSafe for MTLVisibilityResultType
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> EncodeArgument for Twhere
T: Encode,
impl<T> EncodeArgument for Twhere
T: Encode,
Source§const ENCODING_ARGUMENT: Encoding = T::ENCODING
const ENCODING_ARGUMENT: Encoding = T::ENCODING
The Objective-C type-encoding for this type.
Source§impl<T> EncodeReturn for Twhere
T: Encode,
impl<T> EncodeReturn for Twhere
T: Encode,
Source§const ENCODING_RETURN: Encoding = T::ENCODING
const ENCODING_RETURN: Encoding = T::ENCODING
The Objective-C type-encoding for this type.