#[repr(C)]pub struct ComputeOccupancyPriorityParametersNV {
pub s_type: StructureType,
pub p_next: *const c_void,
pub occupancy_priority: f32,
pub occupancy_throttling: f32,
}Expand description
VkComputeOccupancyPriorityParametersNV
Provided by VK_NV_compute_occupancy_priority.
Fields§
§s_type: StructureTypeMust be VK_STRUCTURE_TYPE_COMPUTE_OCCUPANCY_PRIORITY_PARAMETERS_NV.
p_next: *const c_voidOptional, may be null.
occupancy_priority: f32§occupancy_throttling: f32Implementations§
Source§impl ComputeOccupancyPriorityParametersNV
impl ComputeOccupancyPriorityParametersNV
Sourcepub fn builder<'a>() -> ComputeOccupancyPriorityParametersNVBuilder<'a>
pub fn builder<'a>() -> ComputeOccupancyPriorityParametersNVBuilder<'a>
Start building this struct; s_type is already set to the correct variant.
Trait Implementations§
Source§impl Clone for ComputeOccupancyPriorityParametersNV
impl Clone for ComputeOccupancyPriorityParametersNV
Source§fn clone(&self) -> ComputeOccupancyPriorityParametersNV
fn clone(&self) -> ComputeOccupancyPriorityParametersNV
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 ComputeOccupancyPriorityParametersNV
impl Default for ComputeOccupancyPriorityParametersNV
Source§fn default() -> ComputeOccupancyPriorityParametersNV
fn default() -> ComputeOccupancyPriorityParametersNV
Returns the “default value” for a type. Read more
impl Copy for ComputeOccupancyPriorityParametersNV
Auto Trait Implementations§
impl Freeze for ComputeOccupancyPriorityParametersNV
impl RefUnwindSafe for ComputeOccupancyPriorityParametersNV
impl !Send for ComputeOccupancyPriorityParametersNV
impl !Sync for ComputeOccupancyPriorityParametersNV
impl Unpin for ComputeOccupancyPriorityParametersNV
impl UnsafeUnpin for ComputeOccupancyPriorityParametersNV
impl UnwindSafe for ComputeOccupancyPriorityParametersNV
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