#[repr(C)]pub struct GSPGPU_FramebufferInfo {
pub active_framebuf: u32_,
pub framebuf0_vaddr: *mut u32_,
pub framebuf1_vaddr: *mut u32_,
pub framebuf_widthbytesize: u32_,
pub format: u32_,
pub framebuf_dispselect: u32_,
pub unk: u32_,
}Expand description
Framebuffer information.
Fields§
§active_framebuf: u32_< Active framebuffer. (0 = first, 1 = second)
framebuf0_vaddr: *mut u32_< Framebuffer virtual address, for the main screen this is the 3D left framebuffer.
framebuf1_vaddr: *mut u32_< For the main screen: 3D right framebuffer address.
framebuf_widthbytesize: u32_< Value for 0x1EF00X90, controls framebuffer width.
format: u32_< Framebuffer format, this u16 is written to the low u16 for LCD register 0x1EF00X70.
framebuf_dispselect: u32_< Value for 0x1EF00X78, controls which framebuffer is displayed.
unk: u32_< Unknown.
Trait Implementations§
Source§impl Clone for GSPGPU_FramebufferInfo
impl Clone for GSPGPU_FramebufferInfo
Source§fn clone(&self) -> GSPGPU_FramebufferInfo
fn clone(&self) -> GSPGPU_FramebufferInfo
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GSPGPU_FramebufferInfo
impl Debug for GSPGPU_FramebufferInfo
Source§impl Default for GSPGPU_FramebufferInfo
impl Default for GSPGPU_FramebufferInfo
impl Copy for GSPGPU_FramebufferInfo
Auto Trait Implementations§
impl Freeze for GSPGPU_FramebufferInfo
impl RefUnwindSafe for GSPGPU_FramebufferInfo
impl !Send for GSPGPU_FramebufferInfo
impl !Sync for GSPGPU_FramebufferInfo
impl Unpin for GSPGPU_FramebufferInfo
impl UnwindSafe for GSPGPU_FramebufferInfo
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)