[−][src]Enum screen_13::gpu::vertex::Vertex
Defines all supported vertex formats.
Variants
Normal(NormalVertex)The "easy" vertex. If you are not sure what you want, this is probably it.
NormalEx(NormalVertexEx)Same as Normal, except that the additional vertex attributes (normal and tanget) are
specified here as opposed to being calculated before use.
Only needed if you want more control over the normal/tangent generation process.
Skin(SkinVertex)Same as Normal, except that additional vertex attributes for joints and weights are
added.
SkinEx(SkinVertexEx)Like NormalEx, a combination of Skin and extra normal and tangent vertex attributes.
Only needed if you want more control over the normal/tangent generation process.
Implementations
impl Vertex[src]
Trait Implementations
impl Clone for Vertex[src]
impl Copy for Vertex[src]
impl Debug for Vertex[src]
impl Eq for Vertex[src]
impl From<&'_ NormalVertex> for Vertex[src]
pub fn from(val: &NormalVertex) -> Self[src]
impl From<&'_ NormalVertexEx> for Vertex[src]
pub fn from(val: &NormalVertexEx) -> Self[src]
impl From<&'_ SkinVertex> for Vertex[src]
pub fn from(val: &SkinVertex) -> Self[src]
impl From<&'_ SkinVertexEx> for Vertex[src]
pub fn from(val: &SkinVertexEx) -> Self[src]
impl From<[f32; 12]> for Vertex[src]
pub fn from(val: NormalVertexExArray) -> Self[src]
impl From<[f32; 13]> for Vertex[src]
pub fn from(val: SkinVertexArray) -> Self[src]
impl From<[f32; 20]> for Vertex[src]
pub fn from(val: SkinVertexExArray) -> Self[src]
impl From<[f32; 5]> for Vertex[src]
pub fn from(val: NormalVertexArray) -> Self[src]
impl From<([f32; 3], [f32; 2])> for Vertex[src]
pub fn from(val: NormalVertexArrays) -> Self[src]
impl From<([f32; 3], [f32; 3], [f32; 4], [f32; 2])> for Vertex[src]
pub fn from(val: NormalVertexExArrays) -> Self[src]
impl From<([f32; 3], [f32; 3], [f32; 4], [f32; 4], [f32; 4], [f32; 2])> for Vertex[src]
pub fn from(val: SkinVertexExArrays) -> Self[src]
impl From<([f32; 3], [f32; 4], [f32; 4], [f32; 2])> for Vertex[src]
pub fn from(val: SkinVertexArrays) -> Self[src]
impl From<(Vec3, Vec2)> for Vertex[src]
impl From<(Vec3, Vec3, Vec4, Vec2)> for Vertex[src]
impl From<(Vec3, Vec3, Vec4, Vec4, Vec4, Vec2)> for Vertex[src]
pub fn from(val: SkinVertexExTuple) -> Self[src]
impl From<(Vec3, Vec4, Vec4, Vec2)> for Vertex[src]
pub fn from(val: SkinVertexTuple) -> Self[src]
impl From<NormalVertex> for Vertex[src]
pub fn from(val: NormalVertex) -> Self[src]
impl From<NormalVertexEx> for Vertex[src]
pub fn from(val: NormalVertexEx) -> Self[src]
impl From<SkinVertex> for Vertex[src]
pub fn from(val: SkinVertex) -> Self[src]
impl From<SkinVertexEx> for Vertex[src]
pub fn from(val: SkinVertexEx) -> Self[src]
impl Ord for Vertex[src]
pub fn cmp(&self, other: &Vertex) -> Ordering[src]
#[must_use]pub fn max(self, other: Self) -> Self1.21.0[src]
#[must_use]pub fn min(self, other: Self) -> Self1.21.0[src]
#[must_use]pub fn clamp(self, min: Self, max: Self) -> Self1.50.0[src]
impl PartialEq<Vertex> for Vertex[src]
impl PartialOrd<Vertex> for Vertex[src]
pub fn partial_cmp(&self, other: &Vertex) -> Option<Ordering>[src]
pub fn lt(&self, other: &Vertex) -> bool[src]
pub fn le(&self, other: &Vertex) -> bool[src]
pub fn gt(&self, other: &Vertex) -> bool[src]
pub fn ge(&self, other: &Vertex) -> bool[src]
impl StructuralEq for Vertex[src]
impl StructuralPartialEq for Vertex[src]
Auto Trait Implementations
impl RefUnwindSafe for Vertex[src]
impl Send for Vertex[src]
impl Sync for Vertex[src]
impl Unpin for Vertex[src]
impl UnwindSafe for Vertex[src]
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> Pointable for T
pub const ALIGN: usize
type Init = T
The type for initializers.
pub unsafe fn init(init: <T as Pointable>::Init) -> usize
pub unsafe fn deref<'a>(ptr: usize) -> &'a T
pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T
pub unsafe fn drop(ptr: usize)
impl<T> Same<T> for T[src]
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
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>,