pub struct ShaderStatisticsInfoAMDBuilder<'a> { /* private fields */ }
Implementations§
Source§impl<'a> ShaderStatisticsInfoAMDBuilder<'a>
impl<'a> ShaderStatisticsInfoAMDBuilder<'a>
pub fn shader_stage_mask(self, shader_stage_mask: ShaderStageFlags) -> Self
pub fn resource_usage(self, resource_usage: ShaderResourceUsageAMD) -> Self
pub fn num_physical_vgprs(self, num_physical_vgprs: u32) -> Self
pub fn num_physical_sgprs(self, num_physical_sgprs: u32) -> Self
pub fn num_available_vgprs(self, num_available_vgprs: u32) -> Self
pub fn num_available_sgprs(self, num_available_sgprs: u32) -> Self
pub fn compute_work_group_size(self, compute_work_group_size: [u32; 3]) -> Self
Sourcepub fn build(self) -> ShaderStatisticsInfoAMD
pub fn build(self) -> ShaderStatisticsInfoAMD
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 ShaderStatisticsInfoAMDBuilder<'a>
impl<'a> Deref for ShaderStatisticsInfoAMDBuilder<'a>
Auto Trait Implementations§
impl<'a> Freeze for ShaderStatisticsInfoAMDBuilder<'a>
impl<'a> RefUnwindSafe for ShaderStatisticsInfoAMDBuilder<'a>
impl<'a> Send for ShaderStatisticsInfoAMDBuilder<'a>
impl<'a> Sync for ShaderStatisticsInfoAMDBuilder<'a>
impl<'a> Unpin for ShaderStatisticsInfoAMDBuilder<'a>
impl<'a> UnwindSafe for ShaderStatisticsInfoAMDBuilder<'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