[][src]Struct embree::bspline_curve::BsplineCurve

pub struct BsplineCurve<'a> {
    pub vertex_buffer: Buffer<'a, Vector4<f32>>,
    pub index_buffer: Buffer<'a, u32>,
    pub normal_buffer: Option<Buffer<'a, Vector3<f32>>>,
    // some fields omitted
}

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]

pub fn round(
    device: &'a Device,
    num_segments: usize,
    num_verts: usize,
    use_normals: bool
) -> BsplineCurve<'a>
[src]

pub fn normal_oriented(
    device: &'a Device,
    num_segments: usize,
    num_verts: usize
) -> BsplineCurve<'a>
[src]

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]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.