#[repr(C)]pub struct PhysicalDeviceShaderCoreProperties2AMD {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub shader_core_features: ShaderCorePropertiesFlagBitsAMD,
pub active_compute_unit_count: u32,
}Expand description
VkPhysicalDeviceShaderCoreProperties2AMD
Provided by VK_AMD_shader_core_properties2.
Returned only*, filled by Vulkan, not constructed by the application.
§Extends
Fields§
§s_type: StructureTypeMust be VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_CORE_PROPERTIES_2_AMD.
p_next: *mut c_voidOptional, may be null.
shader_core_features: ShaderCorePropertiesFlagBitsAMD§active_compute_unit_count: u32Implementations§
Source§impl PhysicalDeviceShaderCoreProperties2AMD
impl PhysicalDeviceShaderCoreProperties2AMD
Sourcepub fn builder<'a>() -> PhysicalDeviceShaderCoreProperties2AMDBuilder<'a>
pub fn builder<'a>() -> PhysicalDeviceShaderCoreProperties2AMDBuilder<'a>
Start building this struct; s_type is already set to the correct variant.
Trait Implementations§
Source§impl Clone for PhysicalDeviceShaderCoreProperties2AMD
impl Clone for PhysicalDeviceShaderCoreProperties2AMD
Source§fn clone(&self) -> PhysicalDeviceShaderCoreProperties2AMD
fn clone(&self) -> PhysicalDeviceShaderCoreProperties2AMD
Returns a duplicate 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 PhysicalDeviceShaderCoreProperties2AMD
impl Default for PhysicalDeviceShaderCoreProperties2AMD
Source§fn default() -> PhysicalDeviceShaderCoreProperties2AMD
fn default() -> PhysicalDeviceShaderCoreProperties2AMD
Returns the “default value” for a type. Read more
impl Copy for PhysicalDeviceShaderCoreProperties2AMD
impl ExtendsPhysicalDeviceProperties2 for PhysicalDeviceShaderCoreProperties2AMD
Auto Trait Implementations§
impl Freeze for PhysicalDeviceShaderCoreProperties2AMD
impl RefUnwindSafe for PhysicalDeviceShaderCoreProperties2AMD
impl !Send for PhysicalDeviceShaderCoreProperties2AMD
impl !Sync for PhysicalDeviceShaderCoreProperties2AMD
impl Unpin for PhysicalDeviceShaderCoreProperties2AMD
impl UnsafeUnpin for PhysicalDeviceShaderCoreProperties2AMD
impl UnwindSafe for PhysicalDeviceShaderCoreProperties2AMD
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