Struct pilka_lib::ash::vk::PhysicalDeviceShaderCoreProperties2AMDBuilder [−]
#[repr(transparent)]pub struct PhysicalDeviceShaderCoreProperties2AMDBuilder<'a> { /* fields omitted */ }
Implementations
impl<'a> PhysicalDeviceShaderCoreProperties2AMDBuilder<'a>
impl<'a> PhysicalDeviceShaderCoreProperties2AMDBuilder<'a>
pub fn shader_core_features(
self,
shader_core_features: ShaderCorePropertiesFlagsAMD
) -> PhysicalDeviceShaderCoreProperties2AMDBuilder<'a>
pub fn active_compute_unit_count(
self,
active_compute_unit_count: u32
) -> PhysicalDeviceShaderCoreProperties2AMDBuilder<'a>
pub fn build(self) -> PhysicalDeviceShaderCoreProperties2AMD
pub fn build(self) -> PhysicalDeviceShaderCoreProperties2AMD
Calling build will discard all the lifetime information. Only call this if
necessary! Builders implement Deref
targeting their corresponding Vulkan struct,
so references to builders can be passed directly to Vulkan functions.
Methods from Deref<Target = PhysicalDeviceShaderCoreProperties2AMD>
Trait Implementations
impl<'a> Deref for PhysicalDeviceShaderCoreProperties2AMDBuilder<'a>
impl<'a> Deref for PhysicalDeviceShaderCoreProperties2AMDBuilder<'a>
The resulting type after dereferencing.
pub fn deref(
&self
) -> &<PhysicalDeviceShaderCoreProperties2AMDBuilder<'a> as Deref>::Target
pub fn deref(
&self
) -> &<PhysicalDeviceShaderCoreProperties2AMDBuilder<'a> as Deref>::Target
Dereferences the value.
impl<'a> DerefMut for PhysicalDeviceShaderCoreProperties2AMDBuilder<'a>
impl<'a> DerefMut for PhysicalDeviceShaderCoreProperties2AMDBuilder<'a>
pub fn deref_mut(
&mut self
) -> &mut <PhysicalDeviceShaderCoreProperties2AMDBuilder<'a> as Deref>::Target
pub fn deref_mut(
&mut self
) -> &mut <PhysicalDeviceShaderCoreProperties2AMDBuilder<'a> as Deref>::Target
Mutably dereferences the value.