Enum unity_native_plugin::graphics::GfxRenderer
source · #[repr(u32)]pub enum GfxRenderer {
Show 17 variants
D3D11 = 2,
Null = 4,
OpenGLES20 = 8,
OpenGLES30 = 11,
PS4 = 13,
XboxOne = 14,
Metal = 16,
OpenGLCore = 17,
D3D12 = 18,
Vulkan = 21,
Nvn = 22,
XboxOneD3D12 = 23,
GameCoreXboxOne = 24,
GameCoreXboxSeries = 25,
PS5 = 26,
PS5NGGC = 27,
ReservedCFE = 29,
}
Variants§
D3D11 = 2
Null = 4
OpenGLES20 = 8
OpenGLES30 = 11
PS4 = 13
XboxOne = 14
Metal = 16
OpenGLCore = 17
D3D12 = 18
Vulkan = 21
Nvn = 22
XboxOneD3D12 = 23
GameCoreXboxOne = 24
GameCoreXboxSeries = 25
PS5 = 26
PS5NGGC = 27
ReservedCFE = 29
Trait Implementations§
source§impl Clone for GfxRenderer
impl Clone for GfxRenderer
source§fn clone(&self) -> GfxRenderer
fn clone(&self) -> GfxRenderer
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 GfxRenderer
impl Debug for GfxRenderer
source§impl PartialEq for GfxRenderer
impl PartialEq for GfxRenderer
source§fn eq(&self, other: &GfxRenderer) -> bool
fn eq(&self, other: &GfxRenderer) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for GfxRenderer
impl Eq for GfxRenderer
impl StructuralPartialEq for GfxRenderer
Auto Trait Implementations§
impl Freeze for GfxRenderer
impl RefUnwindSafe for GfxRenderer
impl Send for GfxRenderer
impl Sync for GfxRenderer
impl Unpin for GfxRenderer
impl UnwindSafe for GfxRenderer
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
source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)