pub struct PhysicalDeviceVulkan14Features<'a> {Show 23 fields
pub s_type: StructureType,
pub p_next: *mut c_void,
pub global_priority_query: Bool32,
pub shader_subgroup_rotate: Bool32,
pub shader_subgroup_rotate_clustered: Bool32,
pub shader_float_controls2: Bool32,
pub shader_expect_assume: Bool32,
pub rectangular_lines: Bool32,
pub bresenham_lines: Bool32,
pub smooth_lines: Bool32,
pub stippled_rectangular_lines: Bool32,
pub stippled_bresenham_lines: Bool32,
pub stippled_smooth_lines: Bool32,
pub vertex_attribute_instance_rate_divisor: Bool32,
pub vertex_attribute_instance_rate_zero_divisor: Bool32,
pub index_type_uint8: Bool32,
pub dynamic_rendering_local_read: Bool32,
pub maintenance5: Bool32,
pub maintenance6: Bool32,
pub pipeline_protected_access: Bool32,
pub pipeline_robustness: Bool32,
pub host_image_copy: Bool32,
pub push_descriptor: Bool32,
/* private fields */
}Expand description
Native structure VkPhysicalDeviceVulkan14Features.
Fields§
§s_type: StructureTypeNative field sType.
p_next: *mut c_voidNative field pNext.
global_priority_query: Bool32Native field globalPriorityQuery.
shader_subgroup_rotate: Bool32Native field shaderSubgroupRotate.
shader_subgroup_rotate_clustered: Bool32Native field shaderSubgroupRotateClustered.
shader_float_controls2: Bool32Native field shaderFloatControls2.
shader_expect_assume: Bool32Native field shaderExpectAssume.
rectangular_lines: Bool32Native field rectangularLines.
bresenham_lines: Bool32Native field bresenhamLines.
smooth_lines: Bool32Native field smoothLines.
stippled_rectangular_lines: Bool32Native field stippledRectangularLines.
stippled_bresenham_lines: Bool32Native field stippledBresenhamLines.
stippled_smooth_lines: Bool32Native field stippledSmoothLines.
vertex_attribute_instance_rate_divisor: Bool32Native field vertexAttributeInstanceRateDivisor.
vertex_attribute_instance_rate_zero_divisor: Bool32Native field vertexAttributeInstanceRateZeroDivisor.
index_type_uint8: Bool32Native field indexTypeUint8.
dynamic_rendering_local_read: Bool32Native field dynamicRenderingLocalRead.
maintenance5: Bool32Native field maintenance5.
maintenance6: Bool32Native field maintenance6.
pipeline_protected_access: Bool32Native field pipelineProtectedAccess.
pipeline_robustness: Bool32Native field pipelineRobustness.
host_image_copy: Bool32Native field hostImageCopy.
push_descriptor: Bool32Native field pushDescriptor.
Implementations§
Source§impl<'a> PhysicalDeviceVulkan14Features<'a>
impl<'a> PhysicalDeviceVulkan14Features<'a>
Sourcepub fn new() -> Self
pub fn new() -> Self
Construct the record with its canonical sType tag and default native state.
Sourcepub fn set_global_priority_query(self, value: Bool32) -> Self
pub fn set_global_priority_query(self, value: Bool32) -> Self
Set native field globalPriorityQuery without native effects.
Sourcepub fn set_shader_subgroup_rotate(self, value: Bool32) -> Self
pub fn set_shader_subgroup_rotate(self, value: Bool32) -> Self
Set native field shaderSubgroupRotate without native effects.
Sourcepub fn set_shader_subgroup_rotate_clustered(self, value: Bool32) -> Self
pub fn set_shader_subgroup_rotate_clustered(self, value: Bool32) -> Self
Set native field shaderSubgroupRotateClustered without native effects.
Sourcepub fn set_shader_float_controls2(self, value: Bool32) -> Self
pub fn set_shader_float_controls2(self, value: Bool32) -> Self
Set native field shaderFloatControls2 without native effects.
Sourcepub fn set_shader_expect_assume(self, value: Bool32) -> Self
pub fn set_shader_expect_assume(self, value: Bool32) -> Self
Set native field shaderExpectAssume without native effects.
Sourcepub fn set_rectangular_lines(self, value: Bool32) -> Self
pub fn set_rectangular_lines(self, value: Bool32) -> Self
Set native field rectangularLines without native effects.
Sourcepub fn set_bresenham_lines(self, value: Bool32) -> Self
pub fn set_bresenham_lines(self, value: Bool32) -> Self
Set native field bresenhamLines without native effects.
Sourcepub fn set_smooth_lines(self, value: Bool32) -> Self
pub fn set_smooth_lines(self, value: Bool32) -> Self
Set native field smoothLines without native effects.
Sourcepub fn set_stippled_rectangular_lines(self, value: Bool32) -> Self
pub fn set_stippled_rectangular_lines(self, value: Bool32) -> Self
Set native field stippledRectangularLines without native effects.
Sourcepub fn set_stippled_bresenham_lines(self, value: Bool32) -> Self
pub fn set_stippled_bresenham_lines(self, value: Bool32) -> Self
Set native field stippledBresenhamLines without native effects.
Sourcepub fn set_stippled_smooth_lines(self, value: Bool32) -> Self
pub fn set_stippled_smooth_lines(self, value: Bool32) -> Self
Set native field stippledSmoothLines without native effects.
Sourcepub fn set_vertex_attribute_instance_rate_divisor(self, value: Bool32) -> Self
pub fn set_vertex_attribute_instance_rate_divisor(self, value: Bool32) -> Self
Set native field vertexAttributeInstanceRateDivisor without native effects.
Sourcepub fn set_vertex_attribute_instance_rate_zero_divisor(
self,
value: Bool32,
) -> Self
pub fn set_vertex_attribute_instance_rate_zero_divisor( self, value: Bool32, ) -> Self
Set native field vertexAttributeInstanceRateZeroDivisor without native effects.
Sourcepub fn set_index_type_uint8(self, value: Bool32) -> Self
pub fn set_index_type_uint8(self, value: Bool32) -> Self
Set native field indexTypeUint8 without native effects.
Sourcepub fn set_dynamic_rendering_local_read(self, value: Bool32) -> Self
pub fn set_dynamic_rendering_local_read(self, value: Bool32) -> Self
Set native field dynamicRenderingLocalRead without native effects.
Sourcepub fn set_maintenance5(self, value: Bool32) -> Self
pub fn set_maintenance5(self, value: Bool32) -> Self
Set native field maintenance5 without native effects.
Sourcepub fn set_maintenance6(self, value: Bool32) -> Self
pub fn set_maintenance6(self, value: Bool32) -> Self
Set native field maintenance6 without native effects.
Sourcepub fn set_pipeline_protected_access(self, value: Bool32) -> Self
pub fn set_pipeline_protected_access(self, value: Bool32) -> Self
Set native field pipelineProtectedAccess without native effects.
Sourcepub fn set_pipeline_robustness(self, value: Bool32) -> Self
pub fn set_pipeline_robustness(self, value: Bool32) -> Self
Set native field pipelineRobustness without native effects.
Sourcepub fn set_host_image_copy(self, value: Bool32) -> Self
pub fn set_host_image_copy(self, value: Bool32) -> Self
Set native field hostImageCopy without native effects.
Sourcepub fn set_push_descriptor(self, value: Bool32) -> Self
pub fn set_push_descriptor(self, value: Bool32) -> Self
Set native field pushDescriptor without native effects.
Sourcepub fn push_next<T: Extends<Self>>(
self,
next: &'a mut T,
) -> Result<Self, ConstructionError>
pub fn push_next<T: Extends<Self>>( self, next: &'a mut T, ) -> Result<Self, ConstructionError>
Prepend one registry-compatible node, retaining its exclusive borrow.
The node must have a null p_next and both headers must have canonical tags.
Existing links are never traversed and remain written after the borrow ends.
Type compatibility does not establish enabled extensions or Vulkan valid usage.
§Errors
Returns a construction error for a changed structure tag or already-linked node.