[−][src]Struct screen_13::gpu::vertex::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.
Fields
position: Vec3POSITION
normal: Vec3NORMAL
tangent: Vec4TANGENT (four component with handedness)
tex_coord: Vec2TEXCOORD0
Trait Implementations
impl Clone for NormalVertexEx[src]
pub fn clone(&self) -> NormalVertexEx[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Copy for NormalVertexEx[src]
impl Debug for NormalVertexEx[src]
impl Default for NormalVertexEx[src]
pub fn default() -> NormalVertexEx[src]
impl Eq for NormalVertexEx[src]
impl From<&'_ NormalVertexEx> for Vertex[src]
pub fn from(val: &NormalVertexEx) -> Self[src]
impl From<[f32; 12]> for NormalVertexEx[src]
pub fn from(val: NormalVertexExArray) -> Self[src]
impl From<([f32; 3], [f32; 3], [f32; 4], [f32; 2])> for NormalVertexEx[src]
pub fn from(
(position, normal, tangent, tex_coord): NormalVertexExArrays
) -> Self[src]
(position, normal, tangent, tex_coord): NormalVertexExArrays
) -> Self
impl From<(Vec3, Vec3, Vec4, Vec2)> for NormalVertexEx[src]
pub fn from((position, normal, tangent, tex_coord): NormalVertexExTuple) -> Self[src]
impl From<NormalVertexEx> for Vertex[src]
pub fn from(val: NormalVertexEx) -> Self[src]
impl Ord for NormalVertexEx[src]
pub fn cmp(&self, other: &Self) -> 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<NormalVertexEx> for NormalVertexEx[src]
pub fn eq(&self, other: &NormalVertexEx) -> bool[src]
pub fn ne(&self, other: &NormalVertexEx) -> bool[src]
impl PartialOrd<NormalVertexEx> for NormalVertexEx[src]
pub fn partial_cmp(&self, other: &Self) -> Option<Ordering>[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]pub fn le(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]pub fn gt(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]pub fn ge(&self, other: &Rhs) -> bool1.0.0[src]
impl StructuralPartialEq for NormalVertexEx[src]
Auto Trait Implementations
impl RefUnwindSafe for NormalVertexEx[src]
impl Send for NormalVertexEx[src]
impl Sync for NormalVertexEx[src]
impl Unpin for NormalVertexEx[src]
impl UnwindSafe for NormalVertexEx[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>,