Struct ash::vk::KhrFragmentShadingRateFn
source · [−]pub struct KhrFragmentShadingRateFn {
pub get_physical_device_fragment_shading_rates_khr: PFN_vkGetPhysicalDeviceFragmentShadingRatesKHR,
pub cmd_set_fragment_shading_rate_khr: PFN_vkCmdSetFragmentShadingRateKHR,
}
Fields
get_physical_device_fragment_shading_rates_khr: PFN_vkGetPhysicalDeviceFragmentShadingRatesKHR
cmd_set_fragment_shading_rate_khr: PFN_vkCmdSetFragmentShadingRateKHR
Implementations
sourceimpl KhrFragmentShadingRateFn
impl KhrFragmentShadingRateFn
pub fn load<F>(_f: F) -> Self where
F: FnMut(&CStr) -> *const c_void,
sourcepub unsafe fn get_physical_device_fragment_shading_rates_khr(
&self,
physical_device: PhysicalDevice,
p_fragment_shading_rate_count: *mut u32,
p_fragment_shading_rates: *mut PhysicalDeviceFragmentShadingRateKHR
) -> Result
pub unsafe fn get_physical_device_fragment_shading_rates_khr(
&self,
physical_device: PhysicalDevice,
p_fragment_shading_rate_count: *mut u32,
p_fragment_shading_rates: *mut PhysicalDeviceFragmentShadingRateKHR
) -> Result
sourcepub unsafe fn cmd_set_fragment_shading_rate_khr(
&self,
command_buffer: CommandBuffer,
p_fragment_size: *const Extent2D,
combiner_ops: *const [FragmentShadingRateCombinerOpKHR; 2]
)
pub unsafe fn cmd_set_fragment_shading_rate_khr(
&self,
command_buffer: CommandBuffer,
p_fragment_size: *const Extent2D,
combiner_ops: *const [FragmentShadingRateCombinerOpKHR; 2]
)
Trait Implementations
sourceimpl Clone for KhrFragmentShadingRateFn
impl Clone for KhrFragmentShadingRateFn
sourcefn clone(&self) -> KhrFragmentShadingRateFn
fn clone(&self) -> KhrFragmentShadingRateFn
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Send for KhrFragmentShadingRateFn
impl Sync for KhrFragmentShadingRateFn
Auto Trait Implementations
impl RefUnwindSafe for KhrFragmentShadingRateFn
impl Unpin for KhrFragmentShadingRateFn
impl UnwindSafe for KhrFragmentShadingRateFn
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more