Struct screen_13::prelude::vk::ShaderStatisticsInfoAMDBuilder
source · 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 ) -> ShaderStatisticsInfoAMDBuilder<'a>
pub fn resource_usage( self, resource_usage: ShaderResourceUsageAMD ) -> ShaderStatisticsInfoAMDBuilder<'a>
pub fn num_physical_vgprs( self, num_physical_vgprs: u32 ) -> ShaderStatisticsInfoAMDBuilder<'a>
pub fn num_physical_sgprs( self, num_physical_sgprs: u32 ) -> ShaderStatisticsInfoAMDBuilder<'a>
pub fn num_available_vgprs( self, num_available_vgprs: u32 ) -> ShaderStatisticsInfoAMDBuilder<'a>
pub fn num_available_sgprs( self, num_available_sgprs: u32 ) -> ShaderStatisticsInfoAMDBuilder<'a>
pub fn compute_work_group_size( self, compute_work_group_size: [u32; 3] ) -> ShaderStatisticsInfoAMDBuilder<'a>
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>
§type Target = ShaderStatisticsInfoAMD
type Target = ShaderStatisticsInfoAMD
The resulting type after dereferencing.
source§impl<'a> DerefMut for ShaderStatisticsInfoAMDBuilder<'a>
impl<'a> DerefMut for ShaderStatisticsInfoAMDBuilder<'a>
Auto Trait Implementations§
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