Struct ash::vk::AmdDrawIndirectCountFn
source · [−]pub struct AmdDrawIndirectCountFn {
pub cmd_draw_indirect_count_amd: PFN_vkCmdDrawIndirectCount,
pub cmd_draw_indexed_indirect_count_amd: PFN_vkCmdDrawIndexedIndirectCount,
}
Fields
cmd_draw_indirect_count_amd: PFN_vkCmdDrawIndirectCount
cmd_draw_indexed_indirect_count_amd: PFN_vkCmdDrawIndexedIndirectCount
Implementations
sourceimpl AmdDrawIndirectCountFn
impl AmdDrawIndirectCountFn
pub fn load<F>(_f: F) -> Self where
F: FnMut(&CStr) -> *const c_void,
sourcepub 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
)
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
)
sourcepub 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
)
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
)
Trait Implementations
sourceimpl Clone for AmdDrawIndirectCountFn
impl Clone for AmdDrawIndirectCountFn
sourcefn clone(&self) -> AmdDrawIndirectCountFn
fn clone(&self) -> AmdDrawIndirectCountFn
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 AmdDrawIndirectCountFn
impl Sync for AmdDrawIndirectCountFn
Auto Trait Implementations
impl RefUnwindSafe for AmdDrawIndirectCountFn
impl Unpin for AmdDrawIndirectCountFn
impl UnwindSafe for AmdDrawIndirectCountFn
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