pub struct VRFramebuffer {
pub eye_index: u32,
pub attributes: VRFramebufferAttributes,
pub viewport: VRViewport,
}
Expand description
Information about a FBO provided by a VRDisplay.
Fields§
§eye_index: u32
Eye index of the framebuffer
attributes: VRFramebufferAttributes
The attributes set up for this framebuffer
viewport: VRViewport
The 2D rectangle that should be used to project the 3D scene to the position of the eye camera. Measured in device pixels.
Trait Implementations§
Source§impl Clone for VRFramebuffer
impl Clone for VRFramebuffer
Source§fn clone(&self) -> VRFramebuffer
fn clone(&self) -> VRFramebuffer
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 moreAuto Trait Implementations§
impl Freeze for VRFramebuffer
impl RefUnwindSafe for VRFramebuffer
impl Send for VRFramebuffer
impl Sync for VRFramebuffer
impl Unpin for VRFramebuffer
impl UnwindSafe for VRFramebuffer
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