Enum re_renderer::config::DeviceTier
source · pub enum DeviceTier {
Gles = 0,
FullWebGpuSupport = 1,
}
Expand description
Device tiers re_renderer
distinguishes.
To reduce complexity, we rarely do fine-grained feature checks, but instead support set of features, each a superset of the next.
Tiers are sorted from lowest to highest. Certain tiers may not be possible on a given machine/setup, but choosing lower tiers is always possible. Tiers may loosely relate to quality settings, but their primary function is an easier way to do bundle feature support checks.
See also global_bindings.wgsl
Variants§
Gles = 0
Limited feature support as provided by WebGL and native GLES2/OpenGL3(ish).
Note that we do not distinguish between WebGL & native GL here, instead, we go with the lowest common denominator.
FullWebGpuSupport = 1
Full support of WebGPU spec without additional feature requirements.
Expecting to run either in a stable WebGPU implementation. I.e. either natively with Vulkan/Metal or in a browser with WebGPU support.
Trait Implementations§
source§impl Clone for DeviceTier
impl Clone for DeviceTier
source§fn clone(&self) -> DeviceTier
fn clone(&self) -> DeviceTier
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DeviceTier
impl Debug for DeviceTier
source§impl PartialEq for DeviceTier
impl PartialEq for DeviceTier
source§fn eq(&self, other: &DeviceTier) -> bool
fn eq(&self, other: &DeviceTier) -> bool
self
and other
values to be equal, and is used
by ==
.impl Copy for DeviceTier
impl Eq for DeviceTier
impl StructuralPartialEq for DeviceTier
Auto Trait Implementations§
impl Freeze for DeviceTier
impl RefUnwindSafe for DeviceTier
impl Send for DeviceTier
impl Sync for DeviceTier
impl Unpin for DeviceTier
impl UnwindSafe for DeviceTier
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
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
. Box<dyn Any>
can
then be further downcast
into Box<ConcreteType>
where ConcreteType
implements Trait
.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s.§impl<T> DowncastSync for T
impl<T> DowncastSync for T
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more