oa::render::MeshVertex

CPU vertex contract used by the first scene compiler.

StRust public API

Declaration

pub struct MeshVertex { pub position: Vec3, pub normal: Vec3, pub uv: Vec2, pub color: Vec4, }
Public Rust declaration.

Public Methods

fn clone(&self) -> MeshVertex
fn fmt(&self, f: &mut Formatter<'_>) -> Result
fn eq(&self, other: &MeshVertex) -> bool

Public Data Members

positionVec3field
normalVec3field
uvVec2field
colorVec4field

Public Method Documentation

fn clone( &self ) -> MeshVertex
No public source comment is attached to this declaration.
fn fmt( &self, f: &mut Formatter<'_> ) -> Result
No public source comment is attached to this declaration.
fn eq( &self, other: &MeshVertex ) -> bool
No public source comment is attached to this declaration.