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