vk::PhysicalDeviceFeatures
Native structure VkPhysicalDeviceFeatures.
#[repr(C)]pub struct PhysicalDeviceFeatures {
pub robust_buffer_access: Bool32,
pub full_draw_index_uint32: Bool32,
pub image_cube_array: Bool32,
pub independent_blend: Bool32,
pub geometry_shader: Bool32,
pub tessellation_shader: Bool32,
pub sample_rate_shading: Bool32,
pub dual_src_blend: Bool32,
pub logic_op: Bool32,
pub multi_draw_indirect: Bool32,
pub draw_indirect_first_instance: Bool32,
pub depth_clamp: Bool32,
pub depth_bias_clamp: Bool32,
pub fill_mode_non_solid: Bool32,
pub depth_bounds: Bool32,
pub wide_lines: Bool32,
pub large_points: Bool32,
pub alpha_to_one: Bool32,
pub multi_viewport: Bool32,
pub sampler_anisotropy: Bool32,
pub texture_compression_etc2: Bool32,
pub texture_compression_astc_ldr: Bool32,
pub texture_compression_bc: Bool32,
pub occlusion_query_precise: Bool32,
pub pipeline_statistics_query: Bool32,
pub vertex_pipeline_stores_and_atomics: Bool32,
pub fragment_stores_and_atomics: Bool32,
pub shader_tessellation_and_geometry_point_size: Bool32,
pub shader_image_gather_extended: Bool32,
pub shader_storage_image_extended_formats: Bool32,
pub shader_storage_image_multisample: Bool32,
pub shader_storage_image_read_without_format: Bool32,
pub shader_storage_image_write_without_format: Bool32,
pub shader_uniform_buffer_array_dynamic_indexing: Bool32,
pub shader_sampled_image_array_dynamic_indexing: Bool32,
pub shader_storage_buffer_array_dynamic_indexing: Bool32,
pub shader_storage_image_array_dynamic_indexing: Bool32,
pub shader_clip_distance: Bool32,
pub shader_cull_distance: Bool32,
pub shader_float64: Bool32,
pub shader_int64: Bool32,
pub shader_int16: Bool32,
pub shader_resource_residency: Bool32,
pub shader_resource_min_lod: Bool32,
pub sparse_binding: Bool32,
pub sparse_residency_buffer: Bool32,
pub sparse_residency_image2_d: Bool32,
pub sparse_residency_image3_d: Bool32,
pub sparse_residency2_samples: Bool32,
pub sparse_residency4_samples: Bool32,
pub sparse_residency8_samples: Bool32,
pub sparse_residency16_samples: Bool32,
pub sparse_residency_aliased: Bool32,
pub variable_multisample_rate: Bool32,
pub inherited_queries: Bool32,
}Contract
Native structure VkPhysicalDeviceFeatures.
Fields
robust_buffer_access
robust_buffer_access: Bool32Native field robustBufferAccess.
full_draw_index_uint32
full_draw_index_uint32: Bool32Native field fullDrawIndexUint32.
image_cube_array
image_cube_array: Bool32Native field imageCubeArray.
independent_blend
independent_blend: Bool32Native field independentBlend.
geometry_shader
geometry_shader: Bool32Native field geometryShader.
tessellation_shader
tessellation_shader: Bool32Native field tessellationShader.
sample_rate_shading
sample_rate_shading: Bool32Native field sampleRateShading.
dual_src_blend
dual_src_blend: Bool32Native field dualSrcBlend.
logic_op
logic_op: Bool32Native field logicOp.
multi_draw_indirect
multi_draw_indirect: Bool32Native field multiDrawIndirect.
draw_indirect_first_instance
draw_indirect_first_instance: Bool32Native field drawIndirectFirstInstance.
depth_clamp
depth_clamp: Bool32Native field depthClamp.
depth_bias_clamp
depth_bias_clamp: Bool32Native field depthBiasClamp.
fill_mode_non_solid
fill_mode_non_solid: Bool32Native field fillModeNonSolid.
depth_bounds
depth_bounds: Bool32Native field depthBounds.
wide_lines
wide_lines: Bool32Native field wideLines.
large_points
large_points: Bool32Native field largePoints.
alpha_to_one
alpha_to_one: Bool32Native field alphaToOne.
multi_viewport
multi_viewport: Bool32Native field multiViewport.
sampler_anisotropy
sampler_anisotropy: Bool32Native field samplerAnisotropy.
texture_compression_etc2
texture_compression_etc2: Bool32Native field textureCompressionETC2.
texture_compression_astc_ldr
texture_compression_astc_ldr: Bool32Native field textureCompressionASTC_LDR.
texture_compression_bc
texture_compression_bc: Bool32Native field textureCompressionBC.
occlusion_query_precise
occlusion_query_precise: Bool32Native field occlusionQueryPrecise.
pipeline_statistics_query
pipeline_statistics_query: Bool32Native field pipelineStatisticsQuery.
vertex_pipeline_stores_and_atomics
vertex_pipeline_stores_and_atomics: Bool32Native field vertexPipelineStoresAndAtomics.
fragment_stores_and_atomics
fragment_stores_and_atomics: Bool32Native field fragmentStoresAndAtomics.
shader_tessellation_and_geometry_point_size
shader_tessellation_and_geometry_point_size: Bool32Native field shaderTessellationAndGeometryPointSize.
shader_image_gather_extended
shader_image_gather_extended: Bool32Native field shaderImageGatherExtended.
shader_storage_image_extended_formats
shader_storage_image_extended_formats: Bool32Native field shaderStorageImageExtendedFormats.
shader_storage_image_multisample
shader_storage_image_multisample: Bool32Native field shaderStorageImageMultisample.
shader_storage_image_read_without_format
shader_storage_image_read_without_format: Bool32Native field shaderStorageImageReadWithoutFormat.
shader_storage_image_write_without_format
shader_storage_image_write_without_format: Bool32Native field shaderStorageImageWriteWithoutFormat.
shader_uniform_buffer_array_dynamic_indexing
shader_uniform_buffer_array_dynamic_indexing: Bool32Native field shaderUniformBufferArrayDynamicIndexing.
shader_sampled_image_array_dynamic_indexing
shader_sampled_image_array_dynamic_indexing: Bool32Native field shaderSampledImageArrayDynamicIndexing.
shader_storage_buffer_array_dynamic_indexing
shader_storage_buffer_array_dynamic_indexing: Bool32Native field shaderStorageBufferArrayDynamicIndexing.
shader_storage_image_array_dynamic_indexing
shader_storage_image_array_dynamic_indexing: Bool32Native field shaderStorageImageArrayDynamicIndexing.
shader_clip_distance
shader_clip_distance: Bool32Native field shaderClipDistance.
shader_cull_distance
shader_cull_distance: Bool32Native field shaderCullDistance.
shader_float64
shader_float64: Bool32Native field shaderFloat64.
shader_int64
shader_int64: Bool32Native field shaderInt64.
shader_int16
shader_int16: Bool32Native field shaderInt16.
shader_resource_residency
shader_resource_residency: Bool32Native field shaderResourceResidency.
shader_resource_min_lod
shader_resource_min_lod: Bool32Native field shaderResourceMinLod.
sparse_binding
sparse_binding: Bool32Native field sparseBinding.
sparse_residency_buffer
sparse_residency_buffer: Bool32Native field sparseResidencyBuffer.
sparse_residency_image2_d
sparse_residency_image2_d: Bool32Native field sparseResidencyImage2D.
sparse_residency_image3_d
sparse_residency_image3_d: Bool32Native field sparseResidencyImage3D.
sparse_residency2_samples
sparse_residency2_samples: Bool32Native field sparseResidency2Samples.
sparse_residency4_samples
sparse_residency4_samples: Bool32Native field sparseResidency4Samples.
sparse_residency8_samples
sparse_residency8_samples: Bool32Native field sparseResidency8Samples.
sparse_residency16_samples
sparse_residency16_samples: Bool32Native field sparseResidency16Samples.
sparse_residency_aliased
sparse_residency_aliased: Bool32Native field sparseResidencyAliased.
variable_multisample_rate
variable_multisample_rate: Bool32Native field variableMultisampleRate.
inherited_queries
inherited_queries: Bool32Native field inheritedQueries.
Methods and associated items
new
Construct the record with its default native state.
set_robust_buffer_access
Set native field robustBufferAccess without native effects.
set_full_draw_index_uint32
Set native field fullDrawIndexUint32 without native effects.
set_image_cube_array
Set native field imageCubeArray without native effects.
set_independent_blend
Set native field independentBlend without native effects.
set_geometry_shader
Set native field geometryShader without native effects.
set_tessellation_shader
Set native field tessellationShader without native effects.
set_sample_rate_shading
Set native field sampleRateShading without native effects.
set_dual_src_blend
Set native field dualSrcBlend without native effects.
set_logic_op
Set native field logicOp without native effects.
set_multi_draw_indirect
Set native field multiDrawIndirect without native effects.
set_draw_indirect_first_instance
Set native field drawIndirectFirstInstance without native effects.
set_depth_clamp
Set native field depthClamp without native effects.
set_depth_bias_clamp
Set native field depthBiasClamp without native effects.
set_fill_mode_non_solid
Set native field fillModeNonSolid without native effects.
set_depth_bounds
Set native field depthBounds without native effects.
set_wide_lines
Set native field wideLines without native effects.
set_large_points
Set native field largePoints without native effects.
set_alpha_to_one
Set native field alphaToOne without native effects.
set_multi_viewport
Set native field multiViewport without native effects.
set_sampler_anisotropy
Set native field samplerAnisotropy without native effects.
set_texture_compression_etc2
Set native field textureCompressionETC2 without native effects.
set_texture_compression_astc_ldr
Set native field textureCompressionASTC_LDR without native effects.
set_texture_compression_bc
Set native field textureCompressionBC without native effects.
set_occlusion_query_precise
Set native field occlusionQueryPrecise without native effects.
set_pipeline_statistics_query
Set native field pipelineStatisticsQuery without native effects.
set_vertex_pipeline_stores_and_atomics
Set native field vertexPipelineStoresAndAtomics without native effects.
set_fragment_stores_and_atomics
Set native field fragmentStoresAndAtomics without native effects.
set_shader_tessellation_and_geometry_point_size
Set native field shaderTessellationAndGeometryPointSize without native effects.
set_shader_image_gather_extended
Set native field shaderImageGatherExtended without native effects.
set_shader_storage_image_extended_formats
Set native field shaderStorageImageExtendedFormats without native effects.
set_shader_storage_image_multisample
Set native field shaderStorageImageMultisample without native effects.
set_shader_storage_image_read_without_format
Set native field shaderStorageImageReadWithoutFormat without native effects.
set_shader_storage_image_write_without_format
Set native field shaderStorageImageWriteWithoutFormat without native effects.
set_shader_uniform_buffer_array_dynamic_indexing
Set native field shaderUniformBufferArrayDynamicIndexing without native effects.
set_shader_sampled_image_array_dynamic_indexing
Set native field shaderSampledImageArrayDynamicIndexing without native effects.
set_shader_storage_buffer_array_dynamic_indexing
Set native field shaderStorageBufferArrayDynamicIndexing without native effects.
set_shader_storage_image_array_dynamic_indexing
Set native field shaderStorageImageArrayDynamicIndexing without native effects.
set_shader_clip_distance
Set native field shaderClipDistance without native effects.
set_shader_cull_distance
Set native field shaderCullDistance without native effects.
set_shader_float64
Set native field shaderFloat64 without native effects.
set_shader_int64
Set native field shaderInt64 without native effects.
set_shader_int16
Set native field shaderInt16 without native effects.
set_shader_resource_residency
Set native field shaderResourceResidency without native effects.
set_shader_resource_min_lod
Set native field shaderResourceMinLod without native effects.
set_sparse_binding
Set native field sparseBinding without native effects.
set_sparse_residency_buffer
Set native field sparseResidencyBuffer without native effects.
set_sparse_residency_image2_d
Set native field sparseResidencyImage2D without native effects.
set_sparse_residency_image3_d
Set native field sparseResidencyImage3D without native effects.
set_sparse_residency2_samples
Set native field sparseResidency2Samples without native effects.
set_sparse_residency4_samples
Set native field sparseResidency4Samples without native effects.
set_sparse_residency8_samples
Set native field sparseResidency8Samples without native effects.
set_sparse_residency16_samples
Set native field sparseResidency16Samples without native effects.
set_sparse_residency_aliased
Set native field sparseResidencyAliased without native effects.
set_variable_multisample_rate
Set native field variableMultisampleRate without native effects.
set_inherited_queries
Set native field inheritedQueries without native effects.