Struct vulkanalia::vk::ShaderStatisticsInfoAMDBuilder
source · #[repr(transparent)]pub struct ShaderStatisticsInfoAMDBuilder { /* private fields */ }
Expand description
A builder for a ShaderStatisticsInfoAMD
.
Implementations§
source§impl ShaderStatisticsInfoAMDBuilder
impl ShaderStatisticsInfoAMDBuilder
pub fn shader_stage_mask(self, shader_stage_mask: ShaderStageFlags) -> Self
pub fn resource_usage( self, resource_usage: impl Cast<Target = 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
pub fn build(self) -> ShaderStatisticsInfoAMD
Trait Implementations§
source§impl Cast for ShaderStatisticsInfoAMDBuilder
impl Cast for ShaderStatisticsInfoAMDBuilder
§type Target = ShaderStatisticsInfoAMD
type Target = ShaderStatisticsInfoAMD
The other type this type can be used interchangeably with in FFI.
source§impl Clone for ShaderStatisticsInfoAMDBuilder
impl Clone for ShaderStatisticsInfoAMDBuilder
source§fn clone(&self) -> ShaderStatisticsInfoAMDBuilder
fn clone(&self) -> ShaderStatisticsInfoAMDBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for ShaderStatisticsInfoAMDBuilder
impl Default for ShaderStatisticsInfoAMDBuilder
source§fn default() -> ShaderStatisticsInfoAMDBuilder
fn default() -> ShaderStatisticsInfoAMDBuilder
Returns the “default value” for a type. Read more
impl Copy for ShaderStatisticsInfoAMDBuilder
Auto Trait Implementations§
impl RefUnwindSafe for ShaderStatisticsInfoAMDBuilder
impl Send for ShaderStatisticsInfoAMDBuilder
impl Sync for ShaderStatisticsInfoAMDBuilder
impl Unpin for ShaderStatisticsInfoAMDBuilder
impl UnwindSafe for ShaderStatisticsInfoAMDBuilder
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