[−][src]Struct embree::bspline_curve::BsplineCurve
Fields
vertex_buffer: Buffer<'a, Vector4<f32>>
index_buffer: Buffer<'a, u32>
normal_buffer: Option<Buffer<'a, Vector3<f32>>>
Implementations
impl<'a> BsplineCurve<'a>
[src]
pub fn flat(
device: &'a Device,
num_segments: usize,
num_verts: usize,
use_normals: bool
) -> BsplineCurve<'a>
[src]
device: &'a Device,
num_segments: usize,
num_verts: usize,
use_normals: bool
) -> BsplineCurve<'a>
pub fn round(
device: &'a Device,
num_segments: usize,
num_verts: usize,
use_normals: bool
) -> BsplineCurve<'a>
[src]
device: &'a Device,
num_segments: usize,
num_verts: usize,
use_normals: bool
) -> BsplineCurve<'a>
pub fn normal_oriented(
device: &'a Device,
num_segments: usize,
num_verts: usize
) -> BsplineCurve<'a>
[src]
device: &'a Device,
num_segments: usize,
num_verts: usize
) -> BsplineCurve<'a>
Trait Implementations
impl<'a> Sync for BsplineCurve<'a>
[src]
Auto Trait Implementations
impl<'a> RefUnwindSafe for BsplineCurve<'a>
impl<'a> !Send for BsplineCurve<'a>
impl<'a> Unpin for BsplineCurve<'a>
impl<'a> UnwindSafe for BsplineCurve<'a>
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>,