pub struct PhysicalDeviceExtendedDynamicState3FeaturesEXT<'a> {Show 31 fields
pub extended_dynamic_state3_tessellation_domain_origin: Bool32,
pub extended_dynamic_state3_depth_clamp_enable: Bool32,
pub extended_dynamic_state3_polygon_mode: Bool32,
pub extended_dynamic_state3_rasterization_samples: Bool32,
pub extended_dynamic_state3_sample_mask: Bool32,
pub extended_dynamic_state3_alpha_to_coverage_enable: Bool32,
pub extended_dynamic_state3_alpha_to_one_enable: Bool32,
pub extended_dynamic_state3_logic_op_enable: Bool32,
pub extended_dynamic_state3_color_blend_enable: Bool32,
pub extended_dynamic_state3_color_blend_equation: Bool32,
pub extended_dynamic_state3_color_write_mask: Bool32,
pub extended_dynamic_state3_rasterization_stream: Bool32,
pub extended_dynamic_state3_conservative_rasterization_mode: Bool32,
pub extended_dynamic_state3_extra_primitive_overestimation_size: Bool32,
pub extended_dynamic_state3_depth_clip_enable: Bool32,
pub extended_dynamic_state3_sample_locations_enable: Bool32,
pub extended_dynamic_state3_color_blend_advanced: Bool32,
pub extended_dynamic_state3_provoking_vertex_mode: Bool32,
pub extended_dynamic_state3_line_rasterization_mode: Bool32,
pub extended_dynamic_state3_line_stipple_enable: Bool32,
pub extended_dynamic_state3_depth_clip_negative_one_to_one: Bool32,
pub extended_dynamic_state3_viewport_wscaling_enable: Bool32,
pub extended_dynamic_state3_viewport_swizzle: Bool32,
pub extended_dynamic_state3_coverage_to_color_enable: Bool32,
pub extended_dynamic_state3_coverage_to_color_location: Bool32,
pub extended_dynamic_state3_coverage_modulation_mode: Bool32,
pub extended_dynamic_state3_coverage_modulation_table_enable: Bool32,
pub extended_dynamic_state3_coverage_modulation_table: Bool32,
pub extended_dynamic_state3_coverage_reduction_mode: Bool32,
pub extended_dynamic_state3_representative_fragment_test_enable: Bool32,
pub extended_dynamic_state3_shading_rate_image_enable: Bool32,
/* private fields */
}Expand description
Fields§
§extended_dynamic_state3_tessellation_domain_origin: Bool32§extended_dynamic_state3_depth_clamp_enable: Bool32§extended_dynamic_state3_polygon_mode: Bool32§extended_dynamic_state3_rasterization_samples: Bool32§extended_dynamic_state3_sample_mask: Bool32§extended_dynamic_state3_alpha_to_coverage_enable: Bool32§extended_dynamic_state3_alpha_to_one_enable: Bool32§extended_dynamic_state3_logic_op_enable: Bool32§extended_dynamic_state3_color_blend_enable: Bool32§extended_dynamic_state3_color_blend_equation: Bool32§extended_dynamic_state3_color_write_mask: Bool32§extended_dynamic_state3_rasterization_stream: Bool32§extended_dynamic_state3_conservative_rasterization_mode: Bool32§extended_dynamic_state3_extra_primitive_overestimation_size: Bool32§extended_dynamic_state3_depth_clip_enable: Bool32§extended_dynamic_state3_sample_locations_enable: Bool32§extended_dynamic_state3_color_blend_advanced: Bool32§extended_dynamic_state3_provoking_vertex_mode: Bool32§extended_dynamic_state3_line_rasterization_mode: Bool32§extended_dynamic_state3_line_stipple_enable: Bool32§extended_dynamic_state3_depth_clip_negative_one_to_one: Bool32§extended_dynamic_state3_viewport_wscaling_enable: Bool32§extended_dynamic_state3_viewport_swizzle: Bool32§extended_dynamic_state3_coverage_to_color_enable: Bool32§extended_dynamic_state3_coverage_to_color_location: Bool32§extended_dynamic_state3_coverage_modulation_mode: Bool32§extended_dynamic_state3_coverage_modulation_table_enable: Bool32§extended_dynamic_state3_coverage_modulation_table: Bool32§extended_dynamic_state3_coverage_reduction_mode: Bool32§extended_dynamic_state3_representative_fragment_test_enable: Bool32§extended_dynamic_state3_shading_rate_image_enable: Bool32Implementations§
Source§impl<'a> PhysicalDeviceExtendedDynamicState3FeaturesEXT<'a>
impl<'a> PhysicalDeviceExtendedDynamicState3FeaturesEXT<'a>
pub fn extended_dynamic_state3_tessellation_domain_origin( self, value: impl Into<Bool32>, ) -> Self
pub fn extended_dynamic_state3_depth_clamp_enable( self, value: impl Into<Bool32>, ) -> Self
pub fn extended_dynamic_state3_polygon_mode( self, value: impl Into<Bool32>, ) -> Self
pub fn extended_dynamic_state3_rasterization_samples( self, value: impl Into<Bool32>, ) -> Self
pub fn extended_dynamic_state3_sample_mask( self, value: impl Into<Bool32>, ) -> Self
pub fn extended_dynamic_state3_alpha_to_coverage_enable( self, value: impl Into<Bool32>, ) -> Self
pub fn extended_dynamic_state3_alpha_to_one_enable( self, value: impl Into<Bool32>, ) -> Self
pub fn extended_dynamic_state3_logic_op_enable( self, value: impl Into<Bool32>, ) -> Self
pub fn extended_dynamic_state3_color_blend_enable( self, value: impl Into<Bool32>, ) -> Self
pub fn extended_dynamic_state3_color_blend_equation( self, value: impl Into<Bool32>, ) -> Self
pub fn extended_dynamic_state3_color_write_mask( self, value: impl Into<Bool32>, ) -> Self
pub fn extended_dynamic_state3_rasterization_stream( self, value: impl Into<Bool32>, ) -> Self
pub fn extended_dynamic_state3_conservative_rasterization_mode( self, value: impl Into<Bool32>, ) -> Self
pub fn extended_dynamic_state3_extra_primitive_overestimation_size( self, value: impl Into<Bool32>, ) -> Self
pub fn extended_dynamic_state3_depth_clip_enable( self, value: impl Into<Bool32>, ) -> Self
pub fn extended_dynamic_state3_sample_locations_enable( self, value: impl Into<Bool32>, ) -> Self
pub fn extended_dynamic_state3_color_blend_advanced( self, value: impl Into<Bool32>, ) -> Self
pub fn extended_dynamic_state3_provoking_vertex_mode( self, value: impl Into<Bool32>, ) -> Self
pub fn extended_dynamic_state3_line_rasterization_mode( self, value: impl Into<Bool32>, ) -> Self
pub fn extended_dynamic_state3_line_stipple_enable( self, value: impl Into<Bool32>, ) -> Self
pub fn extended_dynamic_state3_depth_clip_negative_one_to_one( self, value: impl Into<Bool32>, ) -> Self
pub fn extended_dynamic_state3_viewport_wscaling_enable( self, value: impl Into<Bool32>, ) -> Self
pub fn extended_dynamic_state3_viewport_swizzle( self, value: impl Into<Bool32>, ) -> Self
pub fn extended_dynamic_state3_coverage_to_color_enable( self, value: impl Into<Bool32>, ) -> Self
pub fn extended_dynamic_state3_coverage_to_color_location( self, value: impl Into<Bool32>, ) -> Self
pub fn extended_dynamic_state3_coverage_modulation_mode( self, value: impl Into<Bool32>, ) -> Self
pub fn extended_dynamic_state3_coverage_modulation_table_enable( self, value: impl Into<Bool32>, ) -> Self
pub fn extended_dynamic_state3_coverage_modulation_table( self, value: impl Into<Bool32>, ) -> Self
pub fn extended_dynamic_state3_coverage_reduction_mode( self, value: impl Into<Bool32>, ) -> Self
pub fn extended_dynamic_state3_representative_fragment_test_enable( self, value: impl Into<Bool32>, ) -> Self
pub fn extended_dynamic_state3_shading_rate_image_enable( self, value: impl Into<Bool32>, ) -> Self
pub fn push_next<T: ExtendingStructure<Self>>(self, ext: &'a mut T) -> Self
Trait Implementations§
Source§impl<'a> Default for PhysicalDeviceExtendedDynamicState3FeaturesEXT<'a>
Available on crate feature ext_extended_dynamic_state3 only.
impl<'a> Default for PhysicalDeviceExtendedDynamicState3FeaturesEXT<'a>
Available on crate feature
ext_extended_dynamic_state3 only.Source§impl<'a> ExtendableStructure for PhysicalDeviceExtendedDynamicState3FeaturesEXT<'a>
Available on crate feature ext_extended_dynamic_state3 only.
impl<'a> ExtendableStructure for PhysicalDeviceExtendedDynamicState3FeaturesEXT<'a>
Available on crate feature
ext_extended_dynamic_state3 only.const STRUCTURE_TYPE: StructureType = StructureType::PhysicalDeviceExtendedDynamicState3FeaturesEXT
Source§unsafe fn retrieve_next(&self) -> &Cell<*const Header>
unsafe fn retrieve_next(&self) -> &Cell<*const Header>
SAFETY: Same as ExtendableStructureBase::header
Source§unsafe fn push_next_unchecked<T: ExtendableStructure>(&self, ext: &T)
unsafe fn push_next_unchecked<T: ExtendableStructure>(&self, ext: &T)
Assuming the current structure chain is the following:
Self -> Ext1 -> Ext2 -> Ext3
calling this function with Ext4 will result in:
Self -> Ext4 -> Ext1 -> Ext2 -> Ext3
This function will never cause cycles in the structure chain
This function is unsafe because it discards the lifetime (ExtendableStructure does not have a lifetime parameter)
Also it does not check that T is a valid extension to be added to Self and only requires references (and not mutable references)
Source§fn new_uninit() -> MaybeUninit<Self>
fn new_uninit() -> MaybeUninit<Self>
Return a unitialized structure except the structure type being correctly set
and the p_next pointer being set to null
Source§impl<'a> ExtendableStructureBase for PhysicalDeviceExtendedDynamicState3FeaturesEXT<'a>
Available on crate feature ext_extended_dynamic_state3 only.
impl<'a> ExtendableStructureBase for PhysicalDeviceExtendedDynamicState3FeaturesEXT<'a>
Available on crate feature
ext_extended_dynamic_state3 only.impl<'a, 'b> ExtendingStructure<DeviceCreateInfo<'b>> for PhysicalDeviceExtendedDynamicState3FeaturesEXT<'a>
Available on crate feature
ext_extended_dynamic_state3 only.impl<'a, 'b> ExtendingStructure<PhysicalDeviceFeatures2<'b>> for PhysicalDeviceExtendedDynamicState3FeaturesEXT<'a>
Available on crate feature
ext_extended_dynamic_state3 and (crate features ext_get_physical_device_properties2 or version_1_1) only.impl<'a> Send for PhysicalDeviceExtendedDynamicState3FeaturesEXT<'a>
Available on crate feature
ext_extended_dynamic_state3 only.impl<'a> Sync for PhysicalDeviceExtendedDynamicState3FeaturesEXT<'a>
Available on crate feature
ext_extended_dynamic_state3 only.Auto Trait Implementations§
impl<'a> !Freeze for PhysicalDeviceExtendedDynamicState3FeaturesEXT<'a>
impl<'a> !RefUnwindSafe for PhysicalDeviceExtendedDynamicState3FeaturesEXT<'a>
impl<'a> Unpin for PhysicalDeviceExtendedDynamicState3FeaturesEXT<'a>
impl<'a> !UnwindSafe for PhysicalDeviceExtendedDynamicState3FeaturesEXT<'a>
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
Source§impl<H> StructureChainOut<H> for Hwhere
H: ExtendableStructure,
impl<H> StructureChainOut<H> for Hwhere
H: ExtendableStructure,
Source§fn setup_uninit(chain: &mut MaybeUninit<H>)
fn setup_uninit(chain: &mut MaybeUninit<H>)
Setup an uninitialized structure chain
After this call, for the structure chain to be initialized, each structure field (with the exception of the structure type
and the p_next pointer) must be initialized (usually by calling the appropriate vulkan command)
The structure type and p_next pointer of each struct are set so that a vulkan commands sees a pointer to the head
as a valid chain containing all structures
Calling setup_uninit should be enough to then call a vulkan command filling this structure chain, moreover after
the call to this vulkan command, the whole structure chain should be considered initialized
Source§fn get_uninit_head_ptr(chain: *mut H) -> *mut H
fn get_uninit_head_ptr(chain: *mut H) -> *mut H
Return a mutable pointer to the head structure, which can then be passed to vulkan commands
Source§fn setup_cleanup(_: *mut H)
fn setup_cleanup(_: *mut H)
Function to call after a vulkan function initialized this structure to make sure there is no dangling pointer
or anything which could cause undefined behavior