Struct bgfx_sys::bgfx_resolution_s
source · #[repr(C)]pub struct bgfx_resolution_s {
pub format: bgfx_texture_format_t,
pub width: u32,
pub height: u32,
pub reset: u32,
pub numBackBuffers: u8,
pub maxFrameLatency: u8,
pub debugTextScale: u8,
}
Expand description
Backbuffer resolution and reset parameters.
Fields§
§format: bgfx_texture_format_t
§width: u32
Backbuffer format.
height: u32
Backbuffer width.
reset: u32
Backbuffer height.
numBackBuffers: u8
Reset parameters.
maxFrameLatency: u8
Number of back buffers.
debugTextScale: u8
Maximum frame latency.
Trait Implementations§
source§impl Clone for bgfx_resolution_s
impl Clone for bgfx_resolution_s
source§fn clone(&self) -> bgfx_resolution_s
fn clone(&self) -> bgfx_resolution_s
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 moresource§impl Debug for bgfx_resolution_s
impl Debug for bgfx_resolution_s
impl Copy for bgfx_resolution_s
Auto Trait Implementations§
impl Freeze for bgfx_resolution_s
impl RefUnwindSafe for bgfx_resolution_s
impl Send for bgfx_resolution_s
impl Sync for bgfx_resolution_s
impl Unpin for bgfx_resolution_s
impl UnwindSafe for bgfx_resolution_s
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