#[repr(C)]pub struct ProjectionUbo {
pub matrix: [f32; 16],
pub fallback_matrix: [f32; 16],
pub tile_mercator_coords: [f32; 4],
pub clipping_plane: [f32; 4],
pub projection_transition: f32,
pub depth_offset: f32,
pub translate: [f32; 2],
pub anchor: [f32; 4],
pub anchor_angles: [f32; 4],
}Expand description
Per-draw tile projection uniform block.
Fields§
§matrix: [f32; 16]§fallback_matrix: [f32; 16]§tile_mercator_coords: [f32; 4]§clipping_plane: [f32; 4]§projection_transition: f32§depth_offset: f32§translate: [f32; 2]§anchor: [f32; 4]§anchor_angles: [f32; 4]Trait Implementations§
Source§impl Clone for ProjectionUbo
impl Clone for ProjectionUbo
impl Copy for ProjectionUbo
Source§impl Debug for ProjectionUbo
impl Debug for ProjectionUbo
Source§impl Default for ProjectionUbo
impl Default for ProjectionUbo
Source§impl PartialEq for ProjectionUbo
impl PartialEq for ProjectionUbo
impl StructuralPartialEq for ProjectionUbo
Auto Trait Implementations§
impl Forget for ProjectionUbo
impl Freeze for ProjectionUbo
impl Move for ProjectionUbo
impl RefUnwindSafe for ProjectionUbo
impl Send for ProjectionUbo
impl Sync for ProjectionUbo
impl Unpin for ProjectionUbo
impl UnsafeUnpin for ProjectionUbo
impl UnwindSafe for ProjectionUbo
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