pub enum Capability {
Show 29 variants
Blend = 3_042,
ClipDistance0 = 12_288,
ClipDistance1 = 12_289,
ClipDistance2 = 12_290,
ClipDistance3 = 12_291,
ClipDistance4 = 12_292,
ClipDistance5 = 12_293,
ColorLogicOp = 3_058,
CullFace = 2_884,
DepthTest = 2_929,
Dither = 3_024,
FramebufferSRGB = 36_281,
LineSmooth = 2_848,
Multisample = 32_925,
PolygonOffsetFill = 32_823,
PolygonOffsetLine = 10_754,
PolygonOffsetPoint = 10_753,
PolygonSmooth = 2_881,
PrimitiveRestart = 36_765,
PrimitiveRestartFixedIndex = 36_201,
RasterizerDiscard = 35_977,
SampleAlphaToCoverage = 32_926,
SampleAlphaToOne = 32_927,
SampleCoverage = 32_928,
SampleShading = 35_894,
SampleMask = 36_433,
ScissorTest = 3_089,
StencilTest = 2_960,
TextureCubeMapSeamless = 34_895,
}Expand description
An enumeration of capabilities that can be tested against.
Variants§
Blend = 3_042
ClipDistance0 = 12_288
ClipDistance1 = 12_289
ClipDistance2 = 12_290
ClipDistance3 = 12_291
ClipDistance4 = 12_292
ClipDistance5 = 12_293
ColorLogicOp = 3_058
CullFace = 2_884
DepthTest = 2_929
Dither = 3_024
FramebufferSRGB = 36_281
LineSmooth = 2_848
Multisample = 32_925
PolygonOffsetFill = 32_823
PolygonOffsetLine = 10_754
PolygonOffsetPoint = 10_753
PolygonSmooth = 2_881
PrimitiveRestart = 36_765
PrimitiveRestartFixedIndex = 36_201
RasterizerDiscard = 35_977
SampleAlphaToCoverage = 32_926
SampleAlphaToOne = 32_927
SampleCoverage = 32_928
SampleShading = 35_894
SampleMask = 36_433
ScissorTest = 3_089
StencilTest = 2_960
TextureCubeMapSeamless = 34_895
Implementations§
source§impl Capability
impl Capability
Trait Implementations§
source§impl Clone for Capability
impl Clone for Capability
source§fn clone(&self) -> Capability
fn clone(&self) -> Capability
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 Capability
impl Debug for Capability
source§impl PartialEq for Capability
impl PartialEq for Capability
impl Copy for Capability
impl StructuralPartialEq for Capability
Auto Trait Implementations§
impl Freeze for Capability
impl RefUnwindSafe for Capability
impl Send for Capability
impl Sync for Capability
impl Unpin for Capability
impl UnwindSafe for Capability
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: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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)