Skip to main content

PhysicalDeviceVulkan14Features

Struct PhysicalDeviceVulkan14Features 

Source
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.

Khronos reference: VkPhysicalDeviceVulkan14Features

Fields§

§s_type: StructureType

Native field sType.

§p_next: *mut c_void

Native field pNext.

§global_priority_query: Bool32

Native field globalPriorityQuery.

§shader_subgroup_rotate: Bool32

Native field shaderSubgroupRotate.

§shader_subgroup_rotate_clustered: Bool32

Native field shaderSubgroupRotateClustered.

§shader_float_controls2: Bool32

Native field shaderFloatControls2.

§shader_expect_assume: Bool32

Native field shaderExpectAssume.

§rectangular_lines: Bool32

Native field rectangularLines.

§bresenham_lines: Bool32

Native field bresenhamLines.

§smooth_lines: Bool32

Native field smoothLines.

§stippled_rectangular_lines: Bool32

Native field stippledRectangularLines.

§stippled_bresenham_lines: Bool32

Native field stippledBresenhamLines.

§stippled_smooth_lines: Bool32

Native field stippledSmoothLines.

§vertex_attribute_instance_rate_divisor: Bool32

Native field vertexAttributeInstanceRateDivisor.

§vertex_attribute_instance_rate_zero_divisor: Bool32

Native field vertexAttributeInstanceRateZeroDivisor.

§index_type_uint8: Bool32

Native field indexTypeUint8.

§dynamic_rendering_local_read: Bool32

Native field dynamicRenderingLocalRead.

§maintenance5: Bool32

Native field maintenance5.

§maintenance6: Bool32

Native field maintenance6.

§pipeline_protected_access: Bool32

Native field pipelineProtectedAccess.

§pipeline_robustness: Bool32

Native field pipelineRobustness.

§host_image_copy: Bool32

Native field hostImageCopy.

§push_descriptor: Bool32

Native field pushDescriptor.

Implementations§

Source§

impl<'a> PhysicalDeviceVulkan14Features<'a>

Source

pub fn new() -> Self

Construct the record with its canonical sType tag and default native state.

Source

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

Set native field globalPriorityQuery without native effects.

Source

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

Set native field shaderSubgroupRotate without native effects.

Source

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

Set native field shaderSubgroupRotateClustered without native effects.

Source

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

Set native field shaderFloatControls2 without native effects.

Source

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

Set native field shaderExpectAssume without native effects.

Source

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

Set native field rectangularLines without native effects.

Source

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

Set native field bresenhamLines without native effects.

Source

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

Set native field smoothLines without native effects.

Source

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

Set native field stippledRectangularLines without native effects.

Source

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

Set native field stippledBresenhamLines without native effects.

Source

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

Set native field stippledSmoothLines without native effects.

Source

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

Set native field vertexAttributeInstanceRateDivisor without native effects.

Source

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

Set native field vertexAttributeInstanceRateZeroDivisor without native effects.

Source

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

Set native field indexTypeUint8 without native effects.

Source

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

Set native field dynamicRenderingLocalRead without native effects.

Source

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

Set native field maintenance5 without native effects.

Source

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

Set native field maintenance6 without native effects.

Source

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

Set native field pipelineProtectedAccess without native effects.

Source

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

Set native field pipelineRobustness without native effects.

Source

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

Set native field hostImageCopy without native effects.

Source

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

Set native field pushDescriptor without native effects.

Source

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.

Trait Implementations§

Source§

impl<'a> Default for PhysicalDeviceVulkan14Features<'a>

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl<'a, 'root> Extends<DeviceCreateInfo<'root>> for PhysicalDeviceVulkan14Features<'a>

Source§

impl<'a, 'root> Extends<PhysicalDeviceFeatures2<'root>> for PhysicalDeviceVulkan14Features<'a>

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.