Struct ash::vk::ShaderResourceUsageAMDBuilder
source · pub struct ShaderResourceUsageAMDBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> ShaderResourceUsageAMDBuilder<'a>
impl<'a> ShaderResourceUsageAMDBuilder<'a>
pub fn num_used_vgprs(self, num_used_vgprs: u32) -> Self
pub fn num_used_sgprs(self, num_used_sgprs: u32) -> Self
pub fn lds_size_per_local_work_group( self, lds_size_per_local_work_group: u32 ) -> Self
pub fn lds_usage_size_in_bytes(self, lds_usage_size_in_bytes: usize) -> Self
pub fn scratch_mem_usage_in_bytes( self, scratch_mem_usage_in_bytes: usize ) -> Self
sourcepub fn build(self) -> ShaderResourceUsageAMD
pub fn build(self) -> ShaderResourceUsageAMD
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 ShaderResourceUsageAMDBuilder<'a>
impl<'a> Deref for ShaderResourceUsageAMDBuilder<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for ShaderResourceUsageAMDBuilder<'a>
impl<'a> Send for ShaderResourceUsageAMDBuilder<'a>
impl<'a> Sync for ShaderResourceUsageAMDBuilder<'a>
impl<'a> Unpin for ShaderResourceUsageAMDBuilder<'a>
impl<'a> UnwindSafe for ShaderResourceUsageAMDBuilder<'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