pub struct PhysicalDeviceShaderCoreProperties2AMDBuilder<'a> { /* private fields */ }
Implementations§
Source§impl<'a> PhysicalDeviceShaderCoreProperties2AMDBuilder<'a>
impl<'a> PhysicalDeviceShaderCoreProperties2AMDBuilder<'a>
pub fn shader_core_features( self, shader_core_features: ShaderCorePropertiesFlagsAMD, ) -> Self
pub fn active_compute_unit_count(self, active_compute_unit_count: u32) -> Self
Sourcepub fn build(self) -> PhysicalDeviceShaderCoreProperties2AMD
pub fn build(self) -> PhysicalDeviceShaderCoreProperties2AMD
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 PhysicalDeviceShaderCoreProperties2AMDBuilder<'a>
impl<'a> Deref for PhysicalDeviceShaderCoreProperties2AMDBuilder<'a>
Source§impl<'a> DerefMut for PhysicalDeviceShaderCoreProperties2AMDBuilder<'a>
impl<'a> DerefMut for PhysicalDeviceShaderCoreProperties2AMDBuilder<'a>
impl ExtendsPhysicalDeviceProperties2 for PhysicalDeviceShaderCoreProperties2AMDBuilder<'_>
Auto Trait Implementations§
impl<'a> Freeze for PhysicalDeviceShaderCoreProperties2AMDBuilder<'a>
impl<'a> RefUnwindSafe for PhysicalDeviceShaderCoreProperties2AMDBuilder<'a>
impl<'a> !Send for PhysicalDeviceShaderCoreProperties2AMDBuilder<'a>
impl<'a> !Sync for PhysicalDeviceShaderCoreProperties2AMDBuilder<'a>
impl<'a> Unpin for PhysicalDeviceShaderCoreProperties2AMDBuilder<'a>
impl<'a> UnwindSafe for PhysicalDeviceShaderCoreProperties2AMDBuilder<'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