#[repr(C)]pub struct PosNormTangTex {
pub position: Position,
pub normal: Normal,
pub tangent: Tangent,
pub tex_coord: TexCoord,
}
Expand description
Vertex format with position, normal, tangent, and UV texture coordinate attributes.
Fields§
§position: Position
Position of the vertex in 3D space.
normal: Normal
Normal vector of the vertex.
tangent: Tangent
Tangent vector of the vertex.
tex_coord: TexCoord
UV texture coordinates used by the vertex.
Trait Implementations§
Source§impl AsVertex for PosNormTangTex
impl AsVertex for PosNormTangTex
Source§fn vertex() -> VertexFormat
fn vertex() -> VertexFormat
List of all attributes formats with name and offset.
Source§impl Clone for PosNormTangTex
impl Clone for PosNormTangTex
Source§fn clone(&self) -> PosNormTangTex
fn clone(&self) -> PosNormTangTex
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for PosNormTangTex
impl Debug for PosNormTangTex
Source§impl PartialEq for PosNormTangTex
impl PartialEq for PosNormTangTex
Source§impl PartialOrd for PosNormTangTex
impl PartialOrd for PosNormTangTex
impl Copy for PosNormTangTex
impl StructuralPartialEq for PosNormTangTex
Auto Trait Implementations§
impl Freeze for PosNormTangTex
impl RefUnwindSafe for PosNormTangTex
impl Send for PosNormTangTex
impl Sync for PosNormTangTex
impl Unpin for PosNormTangTex
impl UnwindSafe for PosNormTangTex
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)