[][src]Struct ash::vk::KhrDrawIndirectCountFn

pub struct KhrDrawIndirectCountFn {
    pub cmd_draw_indirect_count_khr: 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_khr: 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_khr: 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_khr: 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 KhrDrawIndirectCountFn[src]

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

impl KhrDrawIndirectCountFn[src]

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

pub unsafe fn cmd_draw_indirect_count_khr(
    &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_khr(
    &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 Clone for KhrDrawIndirectCountFn[src]

impl Send for KhrDrawIndirectCountFn[src]

impl Sync for KhrDrawIndirectCountFn[src]

Auto Trait Implementations

impl RefUnwindSafe for KhrDrawIndirectCountFn

impl Unpin for KhrDrawIndirectCountFn

impl UnwindSafe for KhrDrawIndirectCountFn

Blanket Implementations

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

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

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

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

impl<T, U> Into<U> 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, 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.