#[repr(C)]pub struct PhysicalDeviceFeatures {Show 55 fields
pub robustBufferAccess: Bool32,
pub fullDrawIndexUint32: Bool32,
pub imageCubeArray: Bool32,
pub independentBlend: Bool32,
pub geometryShader: Bool32,
pub tessellationShader: Bool32,
pub sampleRateShading: Bool32,
pub dualSrcBlend: Bool32,
pub logicOp: Bool32,
pub multiDrawIndirect: Bool32,
pub drawIndirectFirstInstance: Bool32,
pub depthClamp: Bool32,
pub depthBiasClamp: Bool32,
pub fillModeNonSolid: Bool32,
pub depthBounds: Bool32,
pub wideLines: Bool32,
pub largePoints: Bool32,
pub alphaToOne: Bool32,
pub multiViewport: Bool32,
pub samplerAnisotropy: Bool32,
pub textureCompressionETC2: Bool32,
pub textureCompressionASTC_LDR: Bool32,
pub textureCompressionBC: Bool32,
pub occlusionQueryPrecise: Bool32,
pub pipelineStatisticsQuery: Bool32,
pub vertexPipelineStoresAndAtomics: Bool32,
pub fragmentStoresAndAtomics: Bool32,
pub shaderTessellationAndGeometryPointSize: Bool32,
pub shaderImageGatherExtended: Bool32,
pub shaderStorageImageExtendedFormats: Bool32,
pub shaderStorageImageMultisample: Bool32,
pub shaderStorageImageReadWithoutFormat: Bool32,
pub shaderStorageImageWriteWithoutFormat: Bool32,
pub shaderUniformBufferArrayDynamicIndexing: Bool32,
pub shaderSampledImageArrayDynamicIndexing: Bool32,
pub shaderStorageBufferArrayDynamicIndexing: Bool32,
pub shaderStorageImageArrayDynamicIndexing: Bool32,
pub shaderClipDistance: Bool32,
pub shaderCullDistance: Bool32,
pub shaderFloat64: Bool32,
pub shaderInt64: Bool32,
pub shaderInt16: Bool32,
pub shaderResourceResidency: Bool32,
pub shaderResourceMinLod: Bool32,
pub sparseBinding: Bool32,
pub sparseResidencyBuffer: Bool32,
pub sparseResidencyImage2D: Bool32,
pub sparseResidencyImage3D: Bool32,
pub sparseResidency2Samples: Bool32,
pub sparseResidency4Samples: Bool32,
pub sparseResidency8Samples: Bool32,
pub sparseResidency16Samples: Bool32,
pub sparseResidencyAliased: Bool32,
pub variableMultisampleRate: Bool32,
pub inheritedQueries: Bool32,
}Fields§
§robustBufferAccess: Bool32§fullDrawIndexUint32: Bool32§imageCubeArray: Bool32§independentBlend: Bool32§geometryShader: Bool32§tessellationShader: Bool32§sampleRateShading: Bool32§dualSrcBlend: Bool32§logicOp: Bool32§multiDrawIndirect: Bool32§drawIndirectFirstInstance: Bool32§depthClamp: Bool32§depthBiasClamp: Bool32§fillModeNonSolid: Bool32§depthBounds: Bool32§wideLines: Bool32§largePoints: Bool32§alphaToOne: Bool32§multiViewport: Bool32§samplerAnisotropy: Bool32§textureCompressionETC2: Bool32§textureCompressionASTC_LDR: Bool32§textureCompressionBC: Bool32§occlusionQueryPrecise: Bool32§pipelineStatisticsQuery: Bool32§vertexPipelineStoresAndAtomics: Bool32§fragmentStoresAndAtomics: Bool32§shaderTessellationAndGeometryPointSize: Bool32§shaderImageGatherExtended: Bool32§shaderStorageImageExtendedFormats: Bool32§shaderStorageImageMultisample: Bool32§shaderStorageImageReadWithoutFormat: Bool32§shaderStorageImageWriteWithoutFormat: Bool32§shaderUniformBufferArrayDynamicIndexing: Bool32§shaderSampledImageArrayDynamicIndexing: Bool32§shaderStorageBufferArrayDynamicIndexing: Bool32§shaderStorageImageArrayDynamicIndexing: Bool32§shaderClipDistance: Bool32§shaderCullDistance: Bool32§shaderFloat64: Bool32§shaderInt64: Bool32§shaderInt16: Bool32§shaderResourceResidency: Bool32§shaderResourceMinLod: Bool32§sparseBinding: Bool32§sparseResidencyBuffer: Bool32§sparseResidencyImage2D: Bool32§sparseResidencyImage3D: Bool32§sparseResidency2Samples: Bool32§sparseResidency4Samples: Bool32§sparseResidency8Samples: Bool32§sparseResidency16Samples: Bool32§sparseResidencyAliased: Bool32§variableMultisampleRate: Bool32§inheritedQueries: Bool32Implementations§
Source§impl PhysicalDeviceFeatures
impl PhysicalDeviceFeatures
pub fn new() -> Self
pub fn robustBufferAccess(self, robustBufferAccess: Bool32) -> Self
pub fn fullDrawIndexUint32(self, fullDrawIndexUint32: Bool32) -> Self
pub fn imageCubeArray(self, imageCubeArray: Bool32) -> Self
pub fn independentBlend(self, independentBlend: Bool32) -> Self
pub fn geometryShader(self, geometryShader: Bool32) -> Self
pub fn tessellationShader(self, tessellationShader: Bool32) -> Self
pub fn sampleRateShading(self, sampleRateShading: Bool32) -> Self
pub fn dualSrcBlend(self, dualSrcBlend: Bool32) -> Self
pub fn logicOp(self, logicOp: Bool32) -> Self
pub fn multiDrawIndirect(self, multiDrawIndirect: Bool32) -> Self
pub fn drawIndirectFirstInstance( self, drawIndirectFirstInstance: Bool32, ) -> Self
pub fn depthClamp(self, depthClamp: Bool32) -> Self
pub fn depthBiasClamp(self, depthBiasClamp: Bool32) -> Self
pub fn fillModeNonSolid(self, fillModeNonSolid: Bool32) -> Self
pub fn depthBounds(self, depthBounds: Bool32) -> Self
pub fn wideLines(self, wideLines: Bool32) -> Self
pub fn largePoints(self, largePoints: Bool32) -> Self
pub fn alphaToOne(self, alphaToOne: Bool32) -> Self
pub fn multiViewport(self, multiViewport: Bool32) -> Self
pub fn samplerAnisotropy(self, samplerAnisotropy: Bool32) -> Self
pub fn textureCompressionETC2(self, textureCompressionETC2: Bool32) -> Self
pub fn textureCompressionASTC_LDR( self, textureCompressionASTC_LDR: Bool32, ) -> Self
pub fn textureCompressionBC(self, textureCompressionBC: Bool32) -> Self
pub fn occlusionQueryPrecise(self, occlusionQueryPrecise: Bool32) -> Self
pub fn pipelineStatisticsQuery(self, pipelineStatisticsQuery: Bool32) -> Self
pub fn vertexPipelineStoresAndAtomics( self, vertexPipelineStoresAndAtomics: Bool32, ) -> Self
pub fn fragmentStoresAndAtomics(self, fragmentStoresAndAtomics: Bool32) -> Self
pub fn shaderTessellationAndGeometryPointSize( self, shaderTessellationAndGeometryPointSize: Bool32, ) -> Self
pub fn shaderImageGatherExtended( self, shaderImageGatherExtended: Bool32, ) -> Self
pub fn shaderStorageImageExtendedFormats( self, shaderStorageImageExtendedFormats: Bool32, ) -> Self
pub fn shaderStorageImageMultisample( self, shaderStorageImageMultisample: Bool32, ) -> Self
pub fn shaderStorageImageReadWithoutFormat( self, shaderStorageImageReadWithoutFormat: Bool32, ) -> Self
pub fn shaderStorageImageWriteWithoutFormat( self, shaderStorageImageWriteWithoutFormat: Bool32, ) -> Self
pub fn shaderUniformBufferArrayDynamicIndexing( self, shaderUniformBufferArrayDynamicIndexing: Bool32, ) -> Self
pub fn shaderSampledImageArrayDynamicIndexing( self, shaderSampledImageArrayDynamicIndexing: Bool32, ) -> Self
pub fn shaderStorageBufferArrayDynamicIndexing( self, shaderStorageBufferArrayDynamicIndexing: Bool32, ) -> Self
pub fn shaderStorageImageArrayDynamicIndexing( self, shaderStorageImageArrayDynamicIndexing: Bool32, ) -> Self
pub fn shaderClipDistance(self, shaderClipDistance: Bool32) -> Self
pub fn shaderCullDistance(self, shaderCullDistance: Bool32) -> Self
pub fn shaderFloat64(self, shaderFloat64: Bool32) -> Self
pub fn shaderInt64(self, shaderInt64: Bool32) -> Self
pub fn shaderInt16(self, shaderInt16: Bool32) -> Self
pub fn shaderResourceResidency(self, shaderResourceResidency: Bool32) -> Self
pub fn shaderResourceMinLod(self, shaderResourceMinLod: Bool32) -> Self
pub fn sparseBinding(self, sparseBinding: Bool32) -> Self
pub fn sparseResidencyBuffer(self, sparseResidencyBuffer: Bool32) -> Self
pub fn sparseResidencyImage2D(self, sparseResidencyImage2D: Bool32) -> Self
pub fn sparseResidencyImage3D(self, sparseResidencyImage3D: Bool32) -> Self
pub fn sparseResidency2Samples(self, sparseResidency2Samples: Bool32) -> Self
pub fn sparseResidency4Samples(self, sparseResidency4Samples: Bool32) -> Self
pub fn sparseResidency8Samples(self, sparseResidency8Samples: Bool32) -> Self
pub fn sparseResidency16Samples(self, sparseResidency16Samples: Bool32) -> Self
pub fn sparseResidencyAliased(self, sparseResidencyAliased: Bool32) -> Self
pub fn variableMultisampleRate(self, variableMultisampleRate: Bool32) -> Self
pub fn inheritedQueries(self, inheritedQueries: Bool32) -> Self
Trait Implementations§
Source§impl Clone for PhysicalDeviceFeatures
impl Clone for PhysicalDeviceFeatures
Source§fn clone(&self) -> PhysicalDeviceFeatures
fn clone(&self) -> PhysicalDeviceFeatures
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 PhysicalDeviceFeatures
impl Debug for PhysicalDeviceFeatures
Source§impl Default for PhysicalDeviceFeatures
impl Default for PhysicalDeviceFeatures
Source§fn default() -> PhysicalDeviceFeatures
fn default() -> PhysicalDeviceFeatures
Returns the “default value” for a type. Read more
impl Copy for PhysicalDeviceFeatures
Auto Trait Implementations§
impl Freeze for PhysicalDeviceFeatures
impl RefUnwindSafe for PhysicalDeviceFeatures
impl Send for PhysicalDeviceFeatures
impl Sync for PhysicalDeviceFeatures
impl Unpin for PhysicalDeviceFeatures
impl UnwindSafe for PhysicalDeviceFeatures
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