pub struct VolumeMeshRenderGeometry {
pub positions: Vec<Vec3>,
pub faces: Vec<[u32; 3]>,
pub normals: Vec<Vec3>,
pub vertex_values: Option<Vec<f32>>,
pub vertex_colors: Option<Vec<Vec3>>,
}Expand description
Render geometry data with optional quantity values.
Fields§
§positions: Vec<Vec3>§faces: Vec<[u32; 3]>§normals: Vec<Vec3>§vertex_values: Option<Vec<f32>>Per-vertex scalar values for color mapping (from enabled vertex scalar quantity).
vertex_colors: Option<Vec<Vec3>>Per-vertex colors (from enabled vertex color quantity).
Auto Trait Implementations§
impl Freeze for VolumeMeshRenderGeometry
impl RefUnwindSafe for VolumeMeshRenderGeometry
impl Send for VolumeMeshRenderGeometry
impl Sync for VolumeMeshRenderGeometry
impl Unpin for VolumeMeshRenderGeometry
impl UnsafeUnpin for VolumeMeshRenderGeometry
impl UnwindSafe for VolumeMeshRenderGeometry
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more