Struct vulkanalia::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
Trait Implementations§
source§impl Cast for ShaderResourceUsageAMD
impl Cast for ShaderResourceUsageAMD
§type Target = ShaderResourceUsageAMD
type Target = ShaderResourceUsageAMD
The other type this type can be used interchangeably with in FFI.
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
source§impl HasBuilder<'static> for ShaderResourceUsageAMD
impl HasBuilder<'static> for ShaderResourceUsageAMD
source§impl Hash for ShaderResourceUsageAMD
impl Hash for ShaderResourceUsageAMD
source§impl PartialEq<ShaderResourceUsageAMD> for ShaderResourceUsageAMD
impl PartialEq<ShaderResourceUsageAMD> for ShaderResourceUsageAMD
source§fn eq(&self, other: &ShaderResourceUsageAMD) -> bool
fn eq(&self, other: &ShaderResourceUsageAMD) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ShaderResourceUsageAMD
impl Eq for ShaderResourceUsageAMD
impl StructuralEq for ShaderResourceUsageAMD
impl StructuralPartialEq for ShaderResourceUsageAMD
Auto Trait Implementations§
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