pub struct PhysicalDeviceVulkan12FeaturesBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> PhysicalDeviceVulkan12FeaturesBuilder<'a>
impl<'a> PhysicalDeviceVulkan12FeaturesBuilder<'a>
pub fn sampler_mirror_clamp_to_edge( self, sampler_mirror_clamp_to_edge: bool ) -> PhysicalDeviceVulkan12FeaturesBuilder<'a>
pub fn draw_indirect_count( self, draw_indirect_count: bool ) -> PhysicalDeviceVulkan12FeaturesBuilder<'a>
pub fn storage_buffer8_bit_access( self, storage_buffer8_bit_access: bool ) -> PhysicalDeviceVulkan12FeaturesBuilder<'a>
pub fn uniform_and_storage_buffer8_bit_access( self, uniform_and_storage_buffer8_bit_access: bool ) -> PhysicalDeviceVulkan12FeaturesBuilder<'a>
pub fn storage_push_constant8( self, storage_push_constant8: bool ) -> PhysicalDeviceVulkan12FeaturesBuilder<'a>
pub fn shader_buffer_int64_atomics( self, shader_buffer_int64_atomics: bool ) -> PhysicalDeviceVulkan12FeaturesBuilder<'a>
pub fn shader_float16( self, shader_float16: bool ) -> PhysicalDeviceVulkan12FeaturesBuilder<'a>
pub fn shader_int8( self, shader_int8: bool ) -> PhysicalDeviceVulkan12FeaturesBuilder<'a>
pub fn descriptor_indexing( self, descriptor_indexing: bool ) -> PhysicalDeviceVulkan12FeaturesBuilder<'a>
pub fn shader_input_attachment_array_dynamic_indexing( self, shader_input_attachment_array_dynamic_indexing: bool ) -> PhysicalDeviceVulkan12FeaturesBuilder<'a>
pub fn shader_uniform_texel_buffer_array_dynamic_indexing( self, shader_uniform_texel_buffer_array_dynamic_indexing: bool ) -> PhysicalDeviceVulkan12FeaturesBuilder<'a>
pub fn shader_storage_texel_buffer_array_dynamic_indexing( self, shader_storage_texel_buffer_array_dynamic_indexing: bool ) -> PhysicalDeviceVulkan12FeaturesBuilder<'a>
pub fn shader_uniform_buffer_array_non_uniform_indexing( self, shader_uniform_buffer_array_non_uniform_indexing: bool ) -> PhysicalDeviceVulkan12FeaturesBuilder<'a>
pub fn shader_sampled_image_array_non_uniform_indexing( self, shader_sampled_image_array_non_uniform_indexing: bool ) -> PhysicalDeviceVulkan12FeaturesBuilder<'a>
pub fn shader_storage_buffer_array_non_uniform_indexing( self, shader_storage_buffer_array_non_uniform_indexing: bool ) -> PhysicalDeviceVulkan12FeaturesBuilder<'a>
pub fn shader_storage_image_array_non_uniform_indexing( self, shader_storage_image_array_non_uniform_indexing: bool ) -> PhysicalDeviceVulkan12FeaturesBuilder<'a>
pub fn shader_input_attachment_array_non_uniform_indexing( self, shader_input_attachment_array_non_uniform_indexing: bool ) -> PhysicalDeviceVulkan12FeaturesBuilder<'a>
pub fn shader_uniform_texel_buffer_array_non_uniform_indexing( self, shader_uniform_texel_buffer_array_non_uniform_indexing: bool ) -> PhysicalDeviceVulkan12FeaturesBuilder<'a>
pub fn shader_storage_texel_buffer_array_non_uniform_indexing( self, shader_storage_texel_buffer_array_non_uniform_indexing: bool ) -> PhysicalDeviceVulkan12FeaturesBuilder<'a>
pub fn descriptor_binding_uniform_buffer_update_after_bind( self, descriptor_binding_uniform_buffer_update_after_bind: bool ) -> PhysicalDeviceVulkan12FeaturesBuilder<'a>
pub fn descriptor_binding_sampled_image_update_after_bind( self, descriptor_binding_sampled_image_update_after_bind: bool ) -> PhysicalDeviceVulkan12FeaturesBuilder<'a>
pub fn descriptor_binding_storage_image_update_after_bind( self, descriptor_binding_storage_image_update_after_bind: bool ) -> PhysicalDeviceVulkan12FeaturesBuilder<'a>
pub fn descriptor_binding_storage_buffer_update_after_bind( self, descriptor_binding_storage_buffer_update_after_bind: bool ) -> PhysicalDeviceVulkan12FeaturesBuilder<'a>
pub fn descriptor_binding_uniform_texel_buffer_update_after_bind( self, descriptor_binding_uniform_texel_buffer_update_after_bind: bool ) -> PhysicalDeviceVulkan12FeaturesBuilder<'a>
pub fn descriptor_binding_storage_texel_buffer_update_after_bind( self, descriptor_binding_storage_texel_buffer_update_after_bind: bool ) -> PhysicalDeviceVulkan12FeaturesBuilder<'a>
pub fn descriptor_binding_update_unused_while_pending( self, descriptor_binding_update_unused_while_pending: bool ) -> PhysicalDeviceVulkan12FeaturesBuilder<'a>
pub fn descriptor_binding_partially_bound( self, descriptor_binding_partially_bound: bool ) -> PhysicalDeviceVulkan12FeaturesBuilder<'a>
pub fn descriptor_binding_variable_descriptor_count( self, descriptor_binding_variable_descriptor_count: bool ) -> PhysicalDeviceVulkan12FeaturesBuilder<'a>
pub fn runtime_descriptor_array( self, runtime_descriptor_array: bool ) -> PhysicalDeviceVulkan12FeaturesBuilder<'a>
pub fn sampler_filter_minmax( self, sampler_filter_minmax: bool ) -> PhysicalDeviceVulkan12FeaturesBuilder<'a>
pub fn scalar_block_layout( self, scalar_block_layout: bool ) -> PhysicalDeviceVulkan12FeaturesBuilder<'a>
pub fn imageless_framebuffer( self, imageless_framebuffer: bool ) -> PhysicalDeviceVulkan12FeaturesBuilder<'a>
pub fn uniform_buffer_standard_layout( self, uniform_buffer_standard_layout: bool ) -> PhysicalDeviceVulkan12FeaturesBuilder<'a>
pub fn shader_subgroup_extended_types( self, shader_subgroup_extended_types: bool ) -> PhysicalDeviceVulkan12FeaturesBuilder<'a>
pub fn separate_depth_stencil_layouts( self, separate_depth_stencil_layouts: bool ) -> PhysicalDeviceVulkan12FeaturesBuilder<'a>
pub fn host_query_reset( self, host_query_reset: bool ) -> PhysicalDeviceVulkan12FeaturesBuilder<'a>
pub fn timeline_semaphore( self, timeline_semaphore: bool ) -> PhysicalDeviceVulkan12FeaturesBuilder<'a>
pub fn buffer_device_address( self, buffer_device_address: bool ) -> PhysicalDeviceVulkan12FeaturesBuilder<'a>
pub fn buffer_device_address_capture_replay( self, buffer_device_address_capture_replay: bool ) -> PhysicalDeviceVulkan12FeaturesBuilder<'a>
pub fn buffer_device_address_multi_device( self, buffer_device_address_multi_device: bool ) -> PhysicalDeviceVulkan12FeaturesBuilder<'a>
pub fn vulkan_memory_model( self, vulkan_memory_model: bool ) -> PhysicalDeviceVulkan12FeaturesBuilder<'a>
pub fn vulkan_memory_model_device_scope( self, vulkan_memory_model_device_scope: bool ) -> PhysicalDeviceVulkan12FeaturesBuilder<'a>
pub fn vulkan_memory_model_availability_visibility_chains( self, vulkan_memory_model_availability_visibility_chains: bool ) -> PhysicalDeviceVulkan12FeaturesBuilder<'a>
pub fn shader_output_viewport_index( self, shader_output_viewport_index: bool ) -> PhysicalDeviceVulkan12FeaturesBuilder<'a>
pub fn shader_output_layer( self, shader_output_layer: bool ) -> PhysicalDeviceVulkan12FeaturesBuilder<'a>
pub fn subgroup_broadcast_dynamic_id( self, subgroup_broadcast_dynamic_id: bool ) -> PhysicalDeviceVulkan12FeaturesBuilder<'a>
sourcepub fn build(self) -> PhysicalDeviceVulkan12Features
pub fn build(self) -> PhysicalDeviceVulkan12Features
Calling build will discard all the lifetime information. Only call this if
necessary! Builders implement Deref
targeting their corresponding Vulkan struct,
so references to builders can be passed directly to Vulkan functions.
Trait Implementations§
source§impl<'a> Deref for PhysicalDeviceVulkan12FeaturesBuilder<'a>
impl<'a> Deref for PhysicalDeviceVulkan12FeaturesBuilder<'a>
§type Target = PhysicalDeviceVulkan12Features
type Target = PhysicalDeviceVulkan12Features
The resulting type after dereferencing.
source§impl<'a> DerefMut for PhysicalDeviceVulkan12FeaturesBuilder<'a>
impl<'a> DerefMut for PhysicalDeviceVulkan12FeaturesBuilder<'a>
impl ExtendsDeviceCreateInfo for PhysicalDeviceVulkan12FeaturesBuilder<'_>
impl ExtendsPhysicalDeviceFeatures2 for PhysicalDeviceVulkan12FeaturesBuilder<'_>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for PhysicalDeviceVulkan12FeaturesBuilder<'a>
impl<'a> !Send for PhysicalDeviceVulkan12FeaturesBuilder<'a>
impl<'a> !Sync for PhysicalDeviceVulkan12FeaturesBuilder<'a>
impl<'a> Unpin for PhysicalDeviceVulkan12FeaturesBuilder<'a>
impl<'a> UnwindSafe for PhysicalDeviceVulkan12FeaturesBuilder<'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
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
. Box<dyn Any>
can
then be further downcast
into Box<ConcreteType>
where ConcreteType
implements Trait
.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s.