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