#[repr(C, packed(1))]pub struct IntersectionFunctionBufferArguments {
pub intersection_function_buffer: u64,
pub intersection_function_buffer_size: u64,
pub intersection_function_stride: u64,
}Expand description
Arguments for an intersection function buffer.
C++ equivalent: MTL::IntersectionFunctionBufferArguments
Fields§
§intersection_function_buffer: u64§intersection_function_buffer_size: u64§intersection_function_stride: u64Trait Implementations§
Source§impl Clone for IntersectionFunctionBufferArguments
impl Clone for IntersectionFunctionBufferArguments
Source§fn clone(&self) -> IntersectionFunctionBufferArguments
fn clone(&self) -> IntersectionFunctionBufferArguments
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 Default for IntersectionFunctionBufferArguments
impl Default for IntersectionFunctionBufferArguments
Source§fn default() -> IntersectionFunctionBufferArguments
fn default() -> IntersectionFunctionBufferArguments
Returns the “default value” for a type. Read more
Source§impl PartialEq for IntersectionFunctionBufferArguments
impl PartialEq for IntersectionFunctionBufferArguments
Source§fn eq(&self, other: &IntersectionFunctionBufferArguments) -> bool
fn eq(&self, other: &IntersectionFunctionBufferArguments) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for IntersectionFunctionBufferArguments
impl Eq for IntersectionFunctionBufferArguments
impl StructuralPartialEq for IntersectionFunctionBufferArguments
Auto Trait Implementations§
impl Freeze for IntersectionFunctionBufferArguments
impl RefUnwindSafe for IntersectionFunctionBufferArguments
impl Send for IntersectionFunctionBufferArguments
impl Sync for IntersectionFunctionBufferArguments
impl Unpin for IntersectionFunctionBufferArguments
impl UnwindSafe for IntersectionFunctionBufferArguments
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