[−][src]Struct embree::ray_stream::RayN
A ray stream stored in SoA format
Implementations
impl RayN
[src]
pub fn new(n: usize) -> RayN
[src]
Allocate a new Ray stream with room for n
rays
pub fn iter(&self) -> SoARayIter<'_, RayN>ⓘNotable traits for SoARayIter<'a, T>
impl<'a, T: SoARay + 'a> Iterator for SoARayIter<'a, T> type Item = SoARayRef<'a, T>;
[src]
Notable traits for SoARayIter<'a, T>
impl<'a, T: SoARay + 'a> Iterator for SoARayIter<'a, T> type Item = SoARayRef<'a, T>;
pub fn iter_mut(&mut self) -> SoARayIterMut<'_, RayN>ⓘNotable traits for SoARayIterMut<'a, T>
impl<'a, T: SoARay + 'a> Iterator for SoARayIterMut<'a, T> type Item = SoARayRefMut<'a, T>;
[src]
Notable traits for SoARayIterMut<'a, T>
impl<'a, T: SoARay + 'a> Iterator for SoARayIterMut<'a, T> type Item = SoARayRefMut<'a, T>;
pub fn len(&self) -> usize
[src]
pub unsafe fn as_raynp(&mut self) -> RTCRayNp
[src]
Trait Implementations
impl SoARay for RayN
[src]
pub fn org(&self, i: usize) -> Vector3<f32>
[src]
pub fn set_org(&mut self, i: usize, o: Vector3<f32>)
[src]
pub fn dir(&self, i: usize) -> Vector3<f32>
[src]
pub fn set_dir(&mut self, i: usize, d: Vector3<f32>)
[src]
pub fn tnear(&self, i: usize) -> f32
[src]
pub fn set_tnear(&mut self, i: usize, near: f32)
[src]
pub fn tfar(&self, i: usize) -> f32
[src]
pub fn set_tfar(&mut self, i: usize, far: f32)
[src]
pub fn time(&self, i: usize) -> f32
[src]
pub fn set_time(&mut self, i: usize, time: f32)
[src]
pub fn mask(&self, i: usize) -> u32
[src]
pub fn set_mask(&mut self, i: usize, mask: u32)
[src]
pub fn id(&self, i: usize) -> u32
[src]
pub fn set_id(&mut self, i: usize, id: u32)
[src]
pub fn flags(&self, i: usize) -> u32
[src]
pub fn set_flags(&mut self, i: usize, flags: u32)
[src]
Auto Trait Implementations
impl RefUnwindSafe for RayN
impl Send for RayN
impl Sync for RayN
impl Unpin for RayN
impl UnwindSafe for RayN
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,