Struct embree4_sys::RTCBuildArguments
source · #[repr(C)]pub struct RTCBuildArguments {Show 21 fields
pub byteSize: usize,
pub buildQuality: RTCBuildQuality,
pub buildFlags: RTCBuildFlags,
pub maxBranchingFactor: c_uint,
pub maxDepth: c_uint,
pub sahBlockSize: c_uint,
pub minLeafSize: c_uint,
pub maxLeafSize: c_uint,
pub traversalCost: f32,
pub intersectionCost: f32,
pub bvh: RTCBVH,
pub primitives: *mut RTCBuildPrimitive,
pub primitiveCount: usize,
pub primitiveArrayCapacity: usize,
pub createNode: RTCCreateNodeFunction,
pub setNodeChildren: RTCSetNodeChildrenFunction,
pub setNodeBounds: RTCSetNodeBoundsFunction,
pub createLeaf: RTCCreateLeafFunction,
pub splitPrimitive: RTCSplitPrimitiveFunction,
pub buildProgress: RTCProgressMonitorFunction,
pub userPtr: *mut c_void,
}
Fields§
§byteSize: usize
§buildQuality: RTCBuildQuality
§buildFlags: RTCBuildFlags
§maxBranchingFactor: c_uint
§maxDepth: c_uint
§sahBlockSize: c_uint
§minLeafSize: c_uint
§maxLeafSize: c_uint
§traversalCost: f32
§intersectionCost: f32
§bvh: RTCBVH
§primitives: *mut RTCBuildPrimitive
§primitiveCount: usize
§primitiveArrayCapacity: usize
§createNode: RTCCreateNodeFunction
§setNodeChildren: RTCSetNodeChildrenFunction
§setNodeBounds: RTCSetNodeBoundsFunction
§createLeaf: RTCCreateLeafFunction
§splitPrimitive: RTCSplitPrimitiveFunction
§buildProgress: RTCProgressMonitorFunction
§userPtr: *mut c_void
Trait Implementations§
source§impl Clone for RTCBuildArguments
impl Clone for RTCBuildArguments
source§fn clone(&self) -> RTCBuildArguments
fn clone(&self) -> RTCBuildArguments
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 RTCBuildArguments
impl Debug for RTCBuildArguments
impl Copy for RTCBuildArguments
Auto Trait Implementations§
impl RefUnwindSafe for RTCBuildArguments
impl !Send for RTCBuildArguments
impl !Sync for RTCBuildArguments
impl Unpin for RTCBuildArguments
impl UnwindSafe for RTCBuildArguments
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