Struct ctru_sys::GSPGPU_FramebufferInfo
source · #[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 copy 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 more