Struct ash::vk::ShaderResourceUsageAMD
source · #[repr(C)]pub struct ShaderResourceUsageAMD {
pub num_used_vgprs: u32,
pub num_used_sgprs: u32,
pub lds_size_per_local_work_group: u32,
pub lds_usage_size_in_bytes: usize,
pub scratch_mem_usage_in_bytes: usize,
}
Expand description
Fields§
§num_used_vgprs: u32
§num_used_sgprs: u32
§lds_size_per_local_work_group: u32
§lds_usage_size_in_bytes: usize
§scratch_mem_usage_in_bytes: usize
Implementations§
source§impl ShaderResourceUsageAMD
impl ShaderResourceUsageAMD
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
Trait Implementations§
source§impl Clone for ShaderResourceUsageAMD
impl Clone for ShaderResourceUsageAMD
source§fn clone(&self) -> ShaderResourceUsageAMD
fn clone(&self) -> ShaderResourceUsageAMD
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 Debug for ShaderResourceUsageAMD
impl Debug for ShaderResourceUsageAMD
source§impl Default for ShaderResourceUsageAMD
impl Default for ShaderResourceUsageAMD
source§fn default() -> ShaderResourceUsageAMD
fn default() -> ShaderResourceUsageAMD
Returns the “default value” for a type. Read more
impl Copy for ShaderResourceUsageAMD
Auto Trait Implementations§
impl Freeze for ShaderResourceUsageAMD
impl RefUnwindSafe for ShaderResourceUsageAMD
impl Send for ShaderResourceUsageAMD
impl Sync for ShaderResourceUsageAMD
impl Unpin for ShaderResourceUsageAMD
impl UnwindSafe for ShaderResourceUsageAMD
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)