Struct bgfx_rs::static_lib::ResetArgs
source · [−]pub struct ResetArgs {
pub flags: u32,
pub format: TextureFormat,
}
Fields
flags: u32
See: ResetFlags for more info.
- ResetFlags::NONE - No reset flags.
- ResetFlags::FULLSCREEN - Not supported yet.
- [ResetMsaaFlags::X[2/4/8/16]] - Enable 2, 4, 8 or 16 x MSAA.
- ResetFlags::VSYNC - Enable V-Sync.
- ResetFlags::MAXANISOTROPY - Turn on/off max anisotropy.
- ResetFlags::CAPTURE - Begin screen capture.
- ResetFlags::FLUSH_AFTER_RENDER - Flush rendering after submitting to GPU.
- ResetFlags::FLIP_AFTER_RENDER - This flag specifies where flip
occurs. Default behaviour is that flip occurs before rendering new
frame. This flag only has effect when
BGFX_CONFIG_MULTITHREADED=0
. - ResetFlags::SRGB_BACKBUFFER - Enable sRGB backbuffer.
format: TextureFormat
Texture format. See: TextureFormat.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ResetArgs
impl Send for ResetArgs
impl Sync for ResetArgs
impl Unpin for ResetArgs
impl UnwindSafe for ResetArgs
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