Struct ash::vk::definitions::PhysicalDeviceShaderCoreProperties2AMD
source · #[repr(C)]pub struct PhysicalDeviceShaderCoreProperties2AMD<'a> {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub shader_core_features: ShaderCorePropertiesFlagsAMD,
pub active_compute_unit_count: u32,
pub _marker: PhantomData<&'a ()>,
}
Expand description
Fields§
§s_type: StructureType
§p_next: *mut c_void
§shader_core_features: ShaderCorePropertiesFlagsAMD
§active_compute_unit_count: u32
§_marker: PhantomData<&'a ()>
Implementations§
source§impl<'a> PhysicalDeviceShaderCoreProperties2AMD<'a>
impl<'a> PhysicalDeviceShaderCoreProperties2AMD<'a>
pub fn shader_core_features( self, shader_core_features: ShaderCorePropertiesFlagsAMD, ) -> Self
pub fn active_compute_unit_count(self, active_compute_unit_count: u32) -> Self
Trait Implementations§
source§impl<'a> Clone for PhysicalDeviceShaderCoreProperties2AMD<'a>
impl<'a> Clone for PhysicalDeviceShaderCoreProperties2AMD<'a>
source§fn clone(&self) -> PhysicalDeviceShaderCoreProperties2AMD<'a>
fn clone(&self) -> PhysicalDeviceShaderCoreProperties2AMD<'a>
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<'a> Debug for PhysicalDeviceShaderCoreProperties2AMD<'a>
impl<'a> Debug for PhysicalDeviceShaderCoreProperties2AMD<'a>
source§impl Default for PhysicalDeviceShaderCoreProperties2AMD<'_>
impl Default for PhysicalDeviceShaderCoreProperties2AMD<'_>
source§impl<'a> TaggedStructure for PhysicalDeviceShaderCoreProperties2AMD<'a>
impl<'a> TaggedStructure for PhysicalDeviceShaderCoreProperties2AMD<'a>
const STRUCTURE_TYPE: StructureType = StructureType::PHYSICAL_DEVICE_SHADER_CORE_PROPERTIES_2_AMD
impl<'a> Copy for PhysicalDeviceShaderCoreProperties2AMD<'a>
impl ExtendsPhysicalDeviceProperties2 for PhysicalDeviceShaderCoreProperties2AMD<'_>
impl Send for PhysicalDeviceShaderCoreProperties2AMD<'_>
impl Sync for PhysicalDeviceShaderCoreProperties2AMD<'_>
Auto Trait Implementations§
impl<'a> Freeze for PhysicalDeviceShaderCoreProperties2AMD<'a>
impl<'a> RefUnwindSafe for PhysicalDeviceShaderCoreProperties2AMD<'a>
impl<'a> Unpin for PhysicalDeviceShaderCoreProperties2AMD<'a>
impl<'a> UnwindSafe for PhysicalDeviceShaderCoreProperties2AMD<'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