pub struct PhysicalDeviceMeshShaderFeaturesEXTBuilder<'a> { /* private fields */ }
Implementations§
Source§impl<'a> PhysicalDeviceMeshShaderFeaturesEXTBuilder<'a>
impl<'a> PhysicalDeviceMeshShaderFeaturesEXTBuilder<'a>
pub fn task_shader(self, task_shader: bool) -> Self
pub fn mesh_shader(self, mesh_shader: bool) -> Self
pub fn multiview_mesh_shader(self, multiview_mesh_shader: bool) -> Self
pub fn primitive_fragment_shading_rate_mesh_shader( self, primitive_fragment_shading_rate_mesh_shader: bool, ) -> Self
pub fn mesh_shader_queries(self, mesh_shader_queries: bool) -> Self
Sourcepub fn build(self) -> PhysicalDeviceMeshShaderFeaturesEXT
pub fn build(self) -> PhysicalDeviceMeshShaderFeaturesEXT
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 PhysicalDeviceMeshShaderFeaturesEXTBuilder<'a>
impl<'a> Deref for PhysicalDeviceMeshShaderFeaturesEXTBuilder<'a>
Source§impl<'a> DerefMut for PhysicalDeviceMeshShaderFeaturesEXTBuilder<'a>
impl<'a> DerefMut for PhysicalDeviceMeshShaderFeaturesEXTBuilder<'a>
impl ExtendsDeviceCreateInfo for PhysicalDeviceMeshShaderFeaturesEXTBuilder<'_>
impl ExtendsPhysicalDeviceFeatures2 for PhysicalDeviceMeshShaderFeaturesEXTBuilder<'_>
Auto Trait Implementations§
impl<'a> Freeze for PhysicalDeviceMeshShaderFeaturesEXTBuilder<'a>
impl<'a> RefUnwindSafe for PhysicalDeviceMeshShaderFeaturesEXTBuilder<'a>
impl<'a> !Send for PhysicalDeviceMeshShaderFeaturesEXTBuilder<'a>
impl<'a> !Sync for PhysicalDeviceMeshShaderFeaturesEXTBuilder<'a>
impl<'a> Unpin for PhysicalDeviceMeshShaderFeaturesEXTBuilder<'a>
impl<'a> UnwindSafe for PhysicalDeviceMeshShaderFeaturesEXTBuilder<'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