pub struct Selection {
pub camera_position: [f32; 3],
pub lod_params: [f32; 3],
}Expand description
The eye and the budgets a frame’s level of detail is selected under — the two
numbers DrawGen::begin_frame takes beside the frustum, as one value for
DrawGen::begin_frame_with.
Fields§
§camera_position: [f32; 3]The eye, in world space — draw_gen::Params::camera_position.
lod_params: [f32; 3]Pixels per unit and the two budgets — draw_gen::Params::lod_params.
Trait Implementations§
impl Copy for Selection
impl StructuralPartialEq for Selection
Auto Trait Implementations§
impl Forget for Selection
impl Freeze for Selection
impl Move for Selection
impl RefUnwindSafe for Selection
impl Send for Selection
impl Sync for Selection
impl Unpin for Selection
impl UnsafeUnpin for Selection
impl UnwindSafe for Selection
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