pub struct VulkanOptimizationConfig {
pub enable_subgroup_ops: bool,
pub enable_push_constants: bool,
pub enable_timeline_semaphores: bool,
pub descriptor_pool_size: u32,
pub enable_async_compute: bool,
}Expand description
Vulkan optimization configuration.
Fields§
§enable_subgroup_ops: boolEnable subgroup operations.
enable_push_constants: boolEnable push constants.
enable_timeline_semaphores: boolEnable timeline semaphores for synchronization.
descriptor_pool_size: u32Descriptor set pool size.
enable_async_compute: boolEnable async compute.
Trait Implementations§
Source§impl Clone for VulkanOptimizationConfig
impl Clone for VulkanOptimizationConfig
Source§fn clone(&self) -> VulkanOptimizationConfig
fn clone(&self) -> VulkanOptimizationConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 VulkanOptimizationConfig
impl Debug for VulkanOptimizationConfig
Auto Trait Implementations§
impl Freeze for VulkanOptimizationConfig
impl RefUnwindSafe for VulkanOptimizationConfig
impl Send for VulkanOptimizationConfig
impl Sync for VulkanOptimizationConfig
impl Unpin for VulkanOptimizationConfig
impl UnsafeUnpin for VulkanOptimizationConfig
impl UnwindSafe for VulkanOptimizationConfig
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