#[repr(C)]pub struct Projected {
pub sx: i16,
pub sy: i16,
pub sz: u16,
}Expand description
Result of a single perspective-projected vertex – screen-space
(x, y) in pixels plus the MAC3 depth used for ordering-table
inserts. Projected is Copy + trivially packed so the caller
can collect per-vertex results into an array and rasterise later.
Fields§
§sx: i16Screen-space X, clamped to GTE’s ±0x400 range.
sy: i16Screen-space Y.
sz: u16Depth post-divide, 0..0xFFFF after saturation.
Trait Implementations§
impl Copy for Projected
impl Eq for Projected
impl StructuralPartialEq for Projected
Auto Trait Implementations§
impl Freeze for Projected
impl RefUnwindSafe for Projected
impl Send for Projected
impl Sync for Projected
impl Unpin for Projected
impl UnsafeUnpin for Projected
impl UnwindSafe for Projected
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)