[][src]Struct ash::vk::NvShadingRateImageFn

pub struct NvShadingRateImageFn {
    pub cmd_bind_shading_rate_image_nv: extern "system" fn(command_buffer: CommandBuffer, image_view: ImageView, image_layout: ImageLayout) -> c_void,
    pub cmd_set_viewport_shading_rate_palette_nv: extern "system" fn(command_buffer: CommandBuffer, first_viewport: u32, viewport_count: u32, p_shading_rate_palettes: *const ShadingRatePaletteNV) -> c_void,
    pub cmd_set_coarse_sample_order_nv: extern "system" fn(command_buffer: CommandBuffer, sample_order_type: CoarseSampleOrderTypeNV, custom_sample_order_count: u32, p_custom_sample_orders: *const CoarseSampleOrderCustomNV) -> c_void,
}

Fields

cmd_bind_shading_rate_image_nv: extern "system" fn(command_buffer: CommandBuffer, image_view: ImageView, image_layout: ImageLayout) -> c_voidcmd_set_viewport_shading_rate_palette_nv: extern "system" fn(command_buffer: CommandBuffer, first_viewport: u32, viewport_count: u32, p_shading_rate_palettes: *const ShadingRatePaletteNV) -> c_voidcmd_set_coarse_sample_order_nv: extern "system" fn(command_buffer: CommandBuffer, sample_order_type: CoarseSampleOrderTypeNV, custom_sample_order_count: u32, p_custom_sample_orders: *const CoarseSampleOrderCustomNV) -> c_void

Methods

impl NvShadingRateImageFn[src]

pub fn name() -> &'static CStr[src]

impl NvShadingRateImageFn[src]

pub fn load<F>(_f: F) -> Self where
    F: FnMut(&CStr) -> *const c_void
[src]

pub unsafe fn cmd_bind_shading_rate_image_nv(
    &self,
    command_buffer: CommandBuffer,
    image_view: ImageView,
    image_layout: ImageLayout
) -> c_void
[src]

pub unsafe fn cmd_set_viewport_shading_rate_palette_nv(
    &self,
    command_buffer: CommandBuffer,
    first_viewport: u32,
    viewport_count: u32,
    p_shading_rate_palettes: *const ShadingRatePaletteNV
) -> c_void
[src]

pub unsafe fn cmd_set_coarse_sample_order_nv(
    &self,
    command_buffer: CommandBuffer,
    sample_order_type: CoarseSampleOrderTypeNV,
    custom_sample_order_count: u32,
    p_custom_sample_orders: *const CoarseSampleOrderCustomNV
) -> c_void
[src]

Trait Implementations

impl Sync for NvShadingRateImageFn[src]

impl Clone for NvShadingRateImageFn[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Send for NvShadingRateImageFn[src]

Auto Trait Implementations

impl Unpin for NvShadingRateImageFn

impl UnwindSafe for NvShadingRateImageFn

impl RefUnwindSafe for NvShadingRateImageFn

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]