Enum bgfx_rs::static_lib::RendererType
source · [−]#[repr(u32)]
pub enum RendererType {
Show 13 variants
Noop,
Agc,
Direct3D9,
Direct3D11,
Direct3D12,
Gnm,
Metal,
Nvn,
OpenGLES,
OpenGL,
Vulkan,
WebGPU,
Count,
}
Expand description
Renderer backend type enum.
Variants
Noop
No rendering.
Agc
AGC
Direct3D9
Direct3D 9.0
Direct3D11
Direct3D 11.0
Direct3D12
Direct3D 12.0
Gnm
GNM
Metal
Metal
Nvn
NVN
OpenGLES
OpenGL ES 2.0+
OpenGL
OpenGL 2.1+
Vulkan
Vulkan
WebGPU
WebGPU
Count
Number of entries in the enum
Trait Implementations
sourceimpl Clone for RendererType
impl Clone for RendererType
sourcefn clone(&self) -> RendererType
fn clone(&self) -> RendererType
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 RendererType
impl Debug for RendererType
sourceimpl PartialEq<RendererType> for RendererType
impl PartialEq<RendererType> for RendererType
impl Copy for RendererType
impl StructuralPartialEq for RendererType
Auto Trait Implementations
impl RefUnwindSafe for RendererType
impl Send for RendererType
impl Sync for RendererType
impl Unpin for RendererType
impl UnwindSafe for RendererType
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