#[repr(u32)]pub enum FeatureName {
Show 81 variants
CoreFeaturesAndLimits = 1,
DepthClipControl = 2,
Depth32FloatStencil8 = 3,
TextureCompressionBc = 4,
TextureCompressionBcSliced3D = 5,
TextureCompressionEtc2 = 6,
TextureCompressionAstc = 7,
TextureCompressionAstcSliced3D = 8,
TimestampQuery = 9,
IndirectFirstInstance = 10,
ShaderF16 = 11,
Rg11B10UfloatRenderable = 12,
Bgra8UnormStorage = 13,
Float32Filterable = 14,
Float32Blendable = 15,
ClipDistances = 16,
DualSourceBlending = 17,
Subgroups = 18,
TextureFormatsTier1 = 19,
TextureFormatsTier2 = 20,
PrimitiveIndex = 21,
TextureComponentSwizzle = 22,
DawnInternalUsages = 327_680,
DawnMultiPlanarFormats = 327_681,
DawnNative = 327_682,
ChromiumExperimentalTimestampQueryInsidePasses = 327_683,
ImplicitDeviceSynchronization = 327_684,
TransientAttachments = 327_686,
MsaaRenderToSingleSampled = 327_687,
D3D11MultithreadProtected = 327_688,
AngleTextureSharing = 327_689,
PixelLocalStorageCoherent = 327_690,
PixelLocalStorageNonCoherent = 327_691,
Unorm16TextureFormats = 327_692,
MultiPlanarFormatExtendedUsages = 327_693,
MultiPlanarFormatP010 = 327_694,
HostMappedPointer = 327_695,
MultiPlanarRenderTargets = 327_696,
MultiPlanarFormatNv12A = 327_697,
FramebufferFetch = 327_698,
BufferMapExtendedUsages = 327_699,
AdapterPropertiesMemoryHeaps = 327_700,
AdapterPropertiesD3D = 327_701,
AdapterPropertiesVk = 327_702,
DawnFormatCapabilities = 327_703,
DawnDrmFormatCapabilities = 327_704,
MultiPlanarFormatNv16 = 327_705,
MultiPlanarFormatNv24 = 327_706,
MultiPlanarFormatP210 = 327_707,
MultiPlanarFormatP410 = 327_708,
SharedTextureMemoryVkDedicatedAllocation = 327_709,
SharedTextureMemoryAHardwareBuffer = 327_710,
SharedTextureMemoryDmaBuf = 327_711,
SharedTextureMemoryOpaqueFD = 327_712,
SharedTextureMemoryZirconHandle = 327_713,
SharedTextureMemoryDXGISharedHandle = 327_714,
SharedTextureMemoryD3D11Texture2D = 327_715,
SharedTextureMemoryIOSurface = 327_716,
SharedTextureMemoryEGLImage = 327_717,
SharedFenceVkSemaphoreOpaqueFD = 327_718,
SharedFenceSyncFD = 327_719,
SharedFenceVkSemaphoreZirconHandle = 327_720,
SharedFenceDXGISharedHandle = 327_721,
SharedFenceMTLSharedEvent = 327_722,
SharedBufferMemoryD3D12Resource = 327_723,
StaticSamplers = 327_724,
YCbCrVulkanSamplers = 327_725,
ShaderModuleCompilationOptions = 327_726,
DawnLoadResolveTexture = 327_727,
DawnPartialLoadResolveTexture = 327_728,
MultiDrawIndirect = 327_729,
DawnTexelCopyBufferRowAlignment = 327_730,
FlexibleTextureViews = 327_731,
ChromiumExperimentalSubgroupMatrix = 327_732,
SharedFenceEGLSync = 327_733,
DawnDeviceAllocatorControl = 327_734,
AdapterPropertiesWGPU = 327_735,
SharedBufferMemoryD3D12SharedMemoryFileMappingHandle = 327_736,
SharedTextureMemoryD3D12Resource = 327_737,
ChromiumExperimentalSamplingResourceTable = 327_738,
ChromiumExperimentalSubgroupSizeControl = 327_739,
}Variants§
CoreFeaturesAndLimits = 1
DepthClipControl = 2
Depth32FloatStencil8 = 3
TextureCompressionBc = 4
TextureCompressionBcSliced3D = 5
TextureCompressionEtc2 = 6
TextureCompressionAstc = 7
TextureCompressionAstcSliced3D = 8
TimestampQuery = 9
IndirectFirstInstance = 10
ShaderF16 = 11
Rg11B10UfloatRenderable = 12
Bgra8UnormStorage = 13
Float32Filterable = 14
Float32Blendable = 15
ClipDistances = 16
DualSourceBlending = 17
Subgroups = 18
TextureFormatsTier1 = 19
TextureFormatsTier2 = 20
PrimitiveIndex = 21
TextureComponentSwizzle = 22
DawnInternalUsages = 327_680
DawnMultiPlanarFormats = 327_681
DawnNative = 327_682
ChromiumExperimentalTimestampQueryInsidePasses = 327_683
ImplicitDeviceSynchronization = 327_684
TransientAttachments = 327_686
MsaaRenderToSingleSampled = 327_687
D3D11MultithreadProtected = 327_688
AngleTextureSharing = 327_689
PixelLocalStorageCoherent = 327_690
PixelLocalStorageNonCoherent = 327_691
Unorm16TextureFormats = 327_692
MultiPlanarFormatExtendedUsages = 327_693
MultiPlanarFormatP010 = 327_694
HostMappedPointer = 327_695
MultiPlanarRenderTargets = 327_696
MultiPlanarFormatNv12A = 327_697
FramebufferFetch = 327_698
BufferMapExtendedUsages = 327_699
AdapterPropertiesMemoryHeaps = 327_700
AdapterPropertiesD3D = 327_701
AdapterPropertiesVk = 327_702
DawnFormatCapabilities = 327_703
DawnDrmFormatCapabilities = 327_704
MultiPlanarFormatNv16 = 327_705
MultiPlanarFormatNv24 = 327_706
MultiPlanarFormatP210 = 327_707
MultiPlanarFormatP410 = 327_708
StaticSamplers = 327_724
YCbCrVulkanSamplers = 327_725
ShaderModuleCompilationOptions = 327_726
DawnLoadResolveTexture = 327_727
DawnPartialLoadResolveTexture = 327_728
MultiDrawIndirect = 327_729
DawnTexelCopyBufferRowAlignment = 327_730
FlexibleTextureViews = 327_731
ChromiumExperimentalSubgroupMatrix = 327_732
DawnDeviceAllocatorControl = 327_734
AdapterPropertiesWGPU = 327_735
ChromiumExperimentalSamplingResourceTable = 327_738
ChromiumExperimentalSubgroupSizeControl = 327_739
Trait Implementations§
Source§impl Clone for FeatureName
impl Clone for FeatureName
Source§fn clone(&self) -> FeatureName
fn clone(&self) -> FeatureName
Returns a duplicate 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 FeatureName
impl Debug for FeatureName
Source§impl From<FeatureName> for c_uint
impl From<FeatureName> for c_uint
Source§fn from(value: FeatureName) -> Self
fn from(value: FeatureName) -> Self
Converts to this type from the input type.
Source§impl From<u32> for FeatureName
impl From<u32> for FeatureName
Source§impl Hash for FeatureName
impl Hash for FeatureName
Source§impl PartialEq for FeatureName
impl PartialEq for FeatureName
impl Copy for FeatureName
impl Eq for FeatureName
impl StructuralPartialEq for FeatureName
Auto Trait Implementations§
impl Freeze for FeatureName
impl RefUnwindSafe for FeatureName
impl Send for FeatureName
impl Sync for FeatureName
impl Unpin for FeatureName
impl UnwindSafe for FeatureName
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