pub struct PhysicalDeviceShaderCoreProperties2AMDBuilder<'a> { /* private fields */ }Implementations§
source§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>
sourcepub 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.
Trait Implementations§
source§impl<'a> Deref for PhysicalDeviceShaderCoreProperties2AMDBuilder<'a>
impl<'a> Deref for PhysicalDeviceShaderCoreProperties2AMDBuilder<'a>
§type Target = PhysicalDeviceShaderCoreProperties2AMD
type Target = PhysicalDeviceShaderCoreProperties2AMD
The resulting type after dereferencing.