Realm

vk::PhysicalDeviceFeatures

Native structure VkPhysicalDeviceFeatures.

StRustExperimental
#[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, }
Native structure VkPhysicalDeviceFeatures.

Contract

Native structure VkPhysicalDeviceFeatures.

Khronos reference: VkPhysicalDeviceFeatures

Fields

robust_buffer_access

Field
robust_buffer_access: Bool32

Native field robustBufferAccess.

full_draw_index_uint32

Field
full_draw_index_uint32: Bool32

Native field fullDrawIndexUint32.

image_cube_array

Field
image_cube_array: Bool32

Native field imageCubeArray.

independent_blend

Field
independent_blend: Bool32

Native field independentBlend.

geometry_shader

Field
geometry_shader: Bool32

Native field geometryShader.

tessellation_shader

Field
tessellation_shader: Bool32

Native field tessellationShader.

sample_rate_shading

Field
sample_rate_shading: Bool32

Native field sampleRateShading.

dual_src_blend

Field
dual_src_blend: Bool32

Native field dualSrcBlend.

logic_op

Field
logic_op: Bool32

Native field logicOp.

multi_draw_indirect

Field
multi_draw_indirect: Bool32

Native field multiDrawIndirect.

draw_indirect_first_instance

Field
draw_indirect_first_instance: Bool32

Native field drawIndirectFirstInstance.

depth_clamp

Field
depth_clamp: Bool32

Native field depthClamp.

depth_bias_clamp

Field
depth_bias_clamp: Bool32

Native field depthBiasClamp.

fill_mode_non_solid

Field
fill_mode_non_solid: Bool32

Native field fillModeNonSolid.

depth_bounds

Field
depth_bounds: Bool32

Native field depthBounds.

wide_lines

Field
wide_lines: Bool32

Native field wideLines.

large_points

Field
large_points: Bool32

Native field largePoints.

alpha_to_one

Field
alpha_to_one: Bool32

Native field alphaToOne.

multi_viewport

Field
multi_viewport: Bool32

Native field multiViewport.

sampler_anisotropy

Field
sampler_anisotropy: Bool32

Native field samplerAnisotropy.

texture_compression_etc2

Field
texture_compression_etc2: Bool32

Native field textureCompressionETC2.

texture_compression_astc_ldr

Field
texture_compression_astc_ldr: Bool32

Native field textureCompressionASTC_LDR.

texture_compression_bc

Field
texture_compression_bc: Bool32

Native field textureCompressionBC.

occlusion_query_precise

Field
occlusion_query_precise: Bool32

Native field occlusionQueryPrecise.

pipeline_statistics_query

Field
pipeline_statistics_query: Bool32

Native field pipelineStatisticsQuery.

vertex_pipeline_stores_and_atomics

Field
vertex_pipeline_stores_and_atomics: Bool32

Native field vertexPipelineStoresAndAtomics.

fragment_stores_and_atomics

Field
fragment_stores_and_atomics: Bool32

Native field fragmentStoresAndAtomics.

shader_tessellation_and_geometry_point_size

Field
shader_tessellation_and_geometry_point_size: Bool32

Native field shaderTessellationAndGeometryPointSize.

shader_image_gather_extended

Field
shader_image_gather_extended: Bool32

Native field shaderImageGatherExtended.

shader_storage_image_extended_formats

Field
shader_storage_image_extended_formats: Bool32

Native field shaderStorageImageExtendedFormats.

shader_storage_image_multisample

Field
shader_storage_image_multisample: Bool32

Native field shaderStorageImageMultisample.

shader_storage_image_read_without_format

Field
shader_storage_image_read_without_format: Bool32

Native field shaderStorageImageReadWithoutFormat.

shader_storage_image_write_without_format

Field
shader_storage_image_write_without_format: Bool32

Native field shaderStorageImageWriteWithoutFormat.

shader_uniform_buffer_array_dynamic_indexing

Field
shader_uniform_buffer_array_dynamic_indexing: Bool32

Native field shaderUniformBufferArrayDynamicIndexing.

shader_sampled_image_array_dynamic_indexing

Field
shader_sampled_image_array_dynamic_indexing: Bool32

Native field shaderSampledImageArrayDynamicIndexing.

shader_storage_buffer_array_dynamic_indexing

Field
shader_storage_buffer_array_dynamic_indexing: Bool32

Native field shaderStorageBufferArrayDynamicIndexing.

shader_storage_image_array_dynamic_indexing

Field
shader_storage_image_array_dynamic_indexing: Bool32

Native field shaderStorageImageArrayDynamicIndexing.

shader_clip_distance

Field
shader_clip_distance: Bool32

Native field shaderClipDistance.

shader_cull_distance

Field
shader_cull_distance: Bool32

Native field shaderCullDistance.

shader_float64

Field
shader_float64: Bool32

Native field shaderFloat64.

shader_int64

Field
shader_int64: Bool32

Native field shaderInt64.

shader_int16

Field
shader_int16: Bool32

Native field shaderInt16.

shader_resource_residency

Field
shader_resource_residency: Bool32

Native field shaderResourceResidency.

shader_resource_min_lod

Field
shader_resource_min_lod: Bool32

Native field shaderResourceMinLod.

sparse_binding

Field
sparse_binding: Bool32

Native field sparseBinding.

sparse_residency_buffer

Field
sparse_residency_buffer: Bool32

Native field sparseResidencyBuffer.

sparse_residency_image2_d

Field
sparse_residency_image2_d: Bool32

Native field sparseResidencyImage2D.

sparse_residency_image3_d

Field
sparse_residency_image3_d: Bool32

Native field sparseResidencyImage3D.

sparse_residency2_samples

Field
sparse_residency2_samples: Bool32

Native field sparseResidency2Samples.

sparse_residency4_samples

Field
sparse_residency4_samples: Bool32

Native field sparseResidency4Samples.

sparse_residency8_samples

Field
sparse_residency8_samples: Bool32

Native field sparseResidency8Samples.

sparse_residency16_samples

Field
sparse_residency16_samples: Bool32

Native field sparseResidency16Samples.

sparse_residency_aliased

Field
sparse_residency_aliased: Bool32

Native field sparseResidencyAliased.

variable_multisample_rate

Field
variable_multisample_rate: Bool32

Native field variableMultisampleRate.

inherited_queries

Field
inherited_queries: Bool32

Native field inheritedQueries.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its default native state.

set_robust_buffer_access

Method
pub fn set_robust_buffer_access(self, value: Bool32) -> Self

Set native field robustBufferAccess without native effects.

set_full_draw_index_uint32

Method
pub fn set_full_draw_index_uint32(self, value: Bool32) -> Self

Set native field fullDrawIndexUint32 without native effects.

set_image_cube_array

Method
pub fn set_image_cube_array(self, value: Bool32) -> Self

Set native field imageCubeArray without native effects.

set_independent_blend

Method
pub fn set_independent_blend(self, value: Bool32) -> Self

Set native field independentBlend without native effects.

set_geometry_shader

Method
pub fn set_geometry_shader(self, value: Bool32) -> Self

Set native field geometryShader without native effects.

set_tessellation_shader

Method
pub fn set_tessellation_shader(self, value: Bool32) -> Self

Set native field tessellationShader without native effects.

set_sample_rate_shading

Method
pub fn set_sample_rate_shading(self, value: Bool32) -> Self

Set native field sampleRateShading without native effects.

set_dual_src_blend

Method
pub fn set_dual_src_blend(self, value: Bool32) -> Self

Set native field dualSrcBlend without native effects.

set_logic_op

Method
pub fn set_logic_op(self, value: Bool32) -> Self

Set native field logicOp without native effects.

set_multi_draw_indirect

Method
pub fn set_multi_draw_indirect(self, value: Bool32) -> Self

Set native field multiDrawIndirect without native effects.

set_draw_indirect_first_instance

Method
pub fn set_draw_indirect_first_instance(self, value: Bool32) -> Self

Set native field drawIndirectFirstInstance without native effects.

set_depth_clamp

Method
pub fn set_depth_clamp(self, value: Bool32) -> Self

Set native field depthClamp without native effects.

set_depth_bias_clamp

Method
pub fn set_depth_bias_clamp(self, value: Bool32) -> Self

Set native field depthBiasClamp without native effects.

set_fill_mode_non_solid

Method
pub fn set_fill_mode_non_solid(self, value: Bool32) -> Self

Set native field fillModeNonSolid without native effects.

set_depth_bounds

Method
pub fn set_depth_bounds(self, value: Bool32) -> Self

Set native field depthBounds without native effects.

set_wide_lines

Method
pub fn set_wide_lines(self, value: Bool32) -> Self

Set native field wideLines without native effects.

set_large_points

Method
pub fn set_large_points(self, value: Bool32) -> Self

Set native field largePoints without native effects.

set_alpha_to_one

Method
pub fn set_alpha_to_one(self, value: Bool32) -> Self

Set native field alphaToOne without native effects.

set_multi_viewport

Method
pub fn set_multi_viewport(self, value: Bool32) -> Self

Set native field multiViewport without native effects.

set_sampler_anisotropy

Method
pub fn set_sampler_anisotropy(self, value: Bool32) -> Self

Set native field samplerAnisotropy without native effects.

set_texture_compression_etc2

Method
pub fn set_texture_compression_etc2(self, value: Bool32) -> Self

Set native field textureCompressionETC2 without native effects.

set_texture_compression_astc_ldr

Method
pub fn set_texture_compression_astc_ldr(self, value: Bool32) -> Self

Set native field textureCompressionASTC_LDR without native effects.

set_texture_compression_bc

Method
pub fn set_texture_compression_bc(self, value: Bool32) -> Self

Set native field textureCompressionBC without native effects.

set_occlusion_query_precise

Method
pub fn set_occlusion_query_precise(self, value: Bool32) -> Self

Set native field occlusionQueryPrecise without native effects.

set_pipeline_statistics_query

Method
pub fn set_pipeline_statistics_query(self, value: Bool32) -> Self

Set native field pipelineStatisticsQuery without native effects.

set_vertex_pipeline_stores_and_atomics

Method
pub fn set_vertex_pipeline_stores_and_atomics(self, value: Bool32) -> Self

Set native field vertexPipelineStoresAndAtomics without native effects.

set_fragment_stores_and_atomics

Method
pub fn set_fragment_stores_and_atomics(self, value: Bool32) -> Self

Set native field fragmentStoresAndAtomics without native effects.

set_shader_tessellation_and_geometry_point_size

Method
pub fn set_shader_tessellation_and_geometry_point_size( self, value: Bool32, ) -> Self

Set native field shaderTessellationAndGeometryPointSize without native effects.

set_shader_image_gather_extended

Method
pub fn set_shader_image_gather_extended(self, value: Bool32) -> Self

Set native field shaderImageGatherExtended without native effects.

set_shader_storage_image_extended_formats

Method
pub fn set_shader_storage_image_extended_formats(self, value: Bool32) -> Self

Set native field shaderStorageImageExtendedFormats without native effects.

set_shader_storage_image_multisample

Method
pub fn set_shader_storage_image_multisample(self, value: Bool32) -> Self

Set native field shaderStorageImageMultisample without native effects.

set_shader_storage_image_read_without_format

Method
pub fn set_shader_storage_image_read_without_format(self, value: Bool32) -> Self

Set native field shaderStorageImageReadWithoutFormat without native effects.

set_shader_storage_image_write_without_format

Method
pub fn set_shader_storage_image_write_without_format( self, value: Bool32, ) -> Self

Set native field shaderStorageImageWriteWithoutFormat without native effects.

set_shader_uniform_buffer_array_dynamic_indexing

Method
pub fn set_shader_uniform_buffer_array_dynamic_indexing( self, value: Bool32, ) -> Self

Set native field shaderUniformBufferArrayDynamicIndexing without native effects.

set_shader_sampled_image_array_dynamic_indexing

Method
pub fn set_shader_sampled_image_array_dynamic_indexing( self, value: Bool32, ) -> Self

Set native field shaderSampledImageArrayDynamicIndexing without native effects.

set_shader_storage_buffer_array_dynamic_indexing

Method
pub fn set_shader_storage_buffer_array_dynamic_indexing( self, value: Bool32, ) -> Self

Set native field shaderStorageBufferArrayDynamicIndexing without native effects.

set_shader_storage_image_array_dynamic_indexing

Method
pub fn set_shader_storage_image_array_dynamic_indexing( self, value: Bool32, ) -> Self

Set native field shaderStorageImageArrayDynamicIndexing without native effects.

set_shader_clip_distance

Method
pub fn set_shader_clip_distance(self, value: Bool32) -> Self

Set native field shaderClipDistance without native effects.

set_shader_cull_distance

Method
pub fn set_shader_cull_distance(self, value: Bool32) -> Self

Set native field shaderCullDistance without native effects.

set_shader_float64

Method
pub fn set_shader_float64(self, value: Bool32) -> Self

Set native field shaderFloat64 without native effects.

set_shader_int64

Method
pub fn set_shader_int64(self, value: Bool32) -> Self

Set native field shaderInt64 without native effects.

set_shader_int16

Method
pub fn set_shader_int16(self, value: Bool32) -> Self

Set native field shaderInt16 without native effects.

set_shader_resource_residency

Method
pub fn set_shader_resource_residency(self, value: Bool32) -> Self

Set native field shaderResourceResidency without native effects.

set_shader_resource_min_lod

Method
pub fn set_shader_resource_min_lod(self, value: Bool32) -> Self

Set native field shaderResourceMinLod without native effects.

set_sparse_binding

Method
pub fn set_sparse_binding(self, value: Bool32) -> Self

Set native field sparseBinding without native effects.

set_sparse_residency_buffer

Method
pub fn set_sparse_residency_buffer(self, value: Bool32) -> Self

Set native field sparseResidencyBuffer without native effects.

set_sparse_residency_image2_d

Method
pub fn set_sparse_residency_image2_d(self, value: Bool32) -> Self

Set native field sparseResidencyImage2D without native effects.

set_sparse_residency_image3_d

Method
pub fn set_sparse_residency_image3_d(self, value: Bool32) -> Self

Set native field sparseResidencyImage3D without native effects.

set_sparse_residency2_samples

Method
pub fn set_sparse_residency2_samples(self, value: Bool32) -> Self

Set native field sparseResidency2Samples without native effects.

set_sparse_residency4_samples

Method
pub fn set_sparse_residency4_samples(self, value: Bool32) -> Self

Set native field sparseResidency4Samples without native effects.

set_sparse_residency8_samples

Method
pub fn set_sparse_residency8_samples(self, value: Bool32) -> Self

Set native field sparseResidency8Samples without native effects.

set_sparse_residency16_samples

Method
pub fn set_sparse_residency16_samples(self, value: Bool32) -> Self

Set native field sparseResidency16Samples without native effects.

set_sparse_residency_aliased

Method
pub fn set_sparse_residency_aliased(self, value: Bool32) -> Self

Set native field sparseResidencyAliased without native effects.

set_variable_multisample_rate

Method
pub fn set_variable_multisample_rate(self, value: Bool32) -> Self

Set native field variableMultisampleRate without native effects.

set_inherited_queries

Method
pub fn set_inherited_queries(self, value: Bool32) -> Self

Set native field inheritedQueries without native effects.

clone

Method
fn clone(&self) -> PhysicalDeviceFeatures
Returns a duplicate of the value. Read more