[][src]Struct ash::vk::AmdDrawIndirectCountFn

pub struct AmdDrawIndirectCountFn {
    pub cmd_draw_indirect_count_amd: extern "system" fn(command_buffer: CommandBuffer, buffer: Buffer, offset: DeviceSize, count_buffer: Buffer, count_buffer_offset: DeviceSize, max_draw_count: u32, stride: u32) -> c_void,
    pub cmd_draw_indexed_indirect_count_amd: extern "system" fn(command_buffer: CommandBuffer, buffer: Buffer, offset: DeviceSize, count_buffer: Buffer, count_buffer_offset: DeviceSize, max_draw_count: u32, stride: u32) -> c_void,
}

Fields

cmd_draw_indirect_count_amd: extern "system" fn(command_buffer: CommandBuffer, buffer: Buffer, offset: DeviceSize, count_buffer: Buffer, count_buffer_offset: DeviceSize, max_draw_count: u32, stride: u32) -> c_voidcmd_draw_indexed_indirect_count_amd: extern "system" fn(command_buffer: CommandBuffer, buffer: Buffer, offset: DeviceSize, count_buffer: Buffer, count_buffer_offset: DeviceSize, max_draw_count: u32, stride: u32) -> c_void

Methods

impl AmdDrawIndirectCountFn[src]

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

impl AmdDrawIndirectCountFn[src]

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

pub unsafe fn cmd_draw_indirect_count_amd(
    &self,
    command_buffer: CommandBuffer,
    buffer: Buffer,
    offset: DeviceSize,
    count_buffer: Buffer,
    count_buffer_offset: DeviceSize,
    max_draw_count: u32,
    stride: u32
) -> c_void
[src]

pub unsafe fn cmd_draw_indexed_indirect_count_amd(
    &self,
    command_buffer: CommandBuffer,
    buffer: Buffer,
    offset: DeviceSize,
    count_buffer: Buffer,
    count_buffer_offset: DeviceSize,
    max_draw_count: u32,
    stride: u32
) -> c_void
[src]

Trait Implementations

impl Send for AmdDrawIndirectCountFn[src]

impl Sync for AmdDrawIndirectCountFn[src]

impl Clone for AmdDrawIndirectCountFn[src]

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

Performs copy-assignment from source. Read more

Blanket Implementations

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

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

type Owned = T

The resulting type after obtaining ownership.

impl<T> From for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

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

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

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

The type returned in the event of a conversion error.