Struct bgfx_sys::bgfx_init_limits_s
source · [−]#[repr(C)]pub struct bgfx_init_limits_s {
pub maxEncoders: u16,
pub minResourceCbSize: u32,
pub transientVbSize: u32,
pub transientIbSize: u32,
}
Expand description
Configurable runtime limits parameters.
Fields
maxEncoders: u16
minResourceCbSize: u32
Maximum number of encoder threads.
transientVbSize: u32
Minimum resource command buffer size.
transientIbSize: u32
Maximum transient vertex buffer size.
Trait Implementations
sourceimpl Clone for bgfx_init_limits_s
impl Clone for bgfx_init_limits_s
sourcefn clone(&self) -> bgfx_init_limits_s
fn clone(&self) -> bgfx_init_limits_s
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for bgfx_init_limits_s
impl Debug for bgfx_init_limits_s
impl Copy for bgfx_init_limits_s
Auto Trait Implementations
impl RefUnwindSafe for bgfx_init_limits_s
impl Send for bgfx_init_limits_s
impl Sync for bgfx_init_limits_s
impl Unpin for bgfx_init_limits_s
impl UnwindSafe for bgfx_init_limits_s
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more