[][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 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

impl Send for AmdDrawIndirectCountFn[src]

Auto Trait Implementations

impl Unpin for AmdDrawIndirectCountFn

impl UnwindSafe for AmdDrawIndirectCountFn

impl RefUnwindSafe for AmdDrawIndirectCountFn

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]