[][src]Struct ash::vk::DeviceFnV1_2

pub struct DeviceFnV1_2 {
    pub cmd_draw_indirect_count: 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: 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 create_render_pass2: extern "system" fn(device: Device, p_create_info: *const RenderPassCreateInfo2, p_allocator: *const AllocationCallbacks, p_render_pass: *mut RenderPass) -> Result,
    pub cmd_begin_render_pass2: extern "system" fn(command_buffer: CommandBuffer, p_render_pass_begin: *const RenderPassBeginInfo, p_subpass_begin_info: *const SubpassBeginInfo) -> c_void,
    pub cmd_next_subpass2: extern "system" fn(command_buffer: CommandBuffer, p_subpass_begin_info: *const SubpassBeginInfo, p_subpass_end_info: *const SubpassEndInfo) -> c_void,
    pub cmd_end_render_pass2: extern "system" fn(command_buffer: CommandBuffer, p_subpass_end_info: *const SubpassEndInfo) -> c_void,
    pub reset_query_pool: extern "system" fn(device: Device, query_pool: QueryPool, first_query: u32, query_count: u32) -> c_void,
    pub get_semaphore_counter_value: extern "system" fn(device: Device, semaphore: Semaphore, p_value: *mut u64) -> Result,
    pub wait_semaphores: extern "system" fn(device: Device, p_wait_info: *const SemaphoreWaitInfo, timeout: u64) -> Result,
    pub signal_semaphore: extern "system" fn(device: Device, p_signal_info: *const SemaphoreSignalInfo) -> Result,
    pub get_buffer_device_address: extern "system" fn(device: Device, p_info: *const BufferDeviceAddressInfo) -> DeviceAddress,
    pub get_buffer_opaque_capture_address: extern "system" fn(device: Device, p_info: *const BufferDeviceAddressInfo) -> u64,
    pub get_device_memory_opaque_capture_address: extern "system" fn(device: Device, p_info: *const DeviceMemoryOpaqueCaptureAddressInfo) -> u64,
}

Fields

cmd_draw_indirect_count: 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: extern "system" fn(command_buffer: CommandBuffer, buffer: Buffer, offset: DeviceSize, count_buffer: Buffer, count_buffer_offset: DeviceSize, max_draw_count: u32, stride: u32) -> c_voidcreate_render_pass2: extern "system" fn(device: Device, p_create_info: *const RenderPassCreateInfo2, p_allocator: *const AllocationCallbacks, p_render_pass: *mut RenderPass) -> Resultcmd_begin_render_pass2: extern "system" fn(command_buffer: CommandBuffer, p_render_pass_begin: *const RenderPassBeginInfo, p_subpass_begin_info: *const SubpassBeginInfo) -> c_voidcmd_next_subpass2: extern "system" fn(command_buffer: CommandBuffer, p_subpass_begin_info: *const SubpassBeginInfo, p_subpass_end_info: *const SubpassEndInfo) -> c_voidcmd_end_render_pass2: extern "system" fn(command_buffer: CommandBuffer, p_subpass_end_info: *const SubpassEndInfo) -> c_voidreset_query_pool: extern "system" fn(device: Device, query_pool: QueryPool, first_query: u32, query_count: u32) -> c_voidget_semaphore_counter_value: extern "system" fn(device: Device, semaphore: Semaphore, p_value: *mut u64) -> Resultwait_semaphores: extern "system" fn(device: Device, p_wait_info: *const SemaphoreWaitInfo, timeout: u64) -> Resultsignal_semaphore: extern "system" fn(device: Device, p_signal_info: *const SemaphoreSignalInfo) -> Resultget_buffer_device_address: extern "system" fn(device: Device, p_info: *const BufferDeviceAddressInfo) -> DeviceAddressget_buffer_opaque_capture_address: extern "system" fn(device: Device, p_info: *const BufferDeviceAddressInfo) -> u64get_device_memory_opaque_capture_address: extern "system" fn(device: Device, p_info: *const DeviceMemoryOpaqueCaptureAddressInfo) -> u64

Methods

impl DeviceFnV1_2[src]

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

pub unsafe fn cmd_draw_indirect_count(
    &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(
    &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 create_render_pass2(
    &self,
    device: Device,
    p_create_info: *const RenderPassCreateInfo2,
    p_allocator: *const AllocationCallbacks,
    p_render_pass: *mut RenderPass
) -> Result
[src]

pub unsafe fn cmd_begin_render_pass2(
    &self,
    command_buffer: CommandBuffer,
    p_render_pass_begin: *const RenderPassBeginInfo,
    p_subpass_begin_info: *const SubpassBeginInfo
) -> c_void
[src]

pub unsafe fn cmd_next_subpass2(
    &self,
    command_buffer: CommandBuffer,
    p_subpass_begin_info: *const SubpassBeginInfo,
    p_subpass_end_info: *const SubpassEndInfo
) -> c_void
[src]

pub unsafe fn cmd_end_render_pass2(
    &self,
    command_buffer: CommandBuffer,
    p_subpass_end_info: *const SubpassEndInfo
) -> c_void
[src]

pub unsafe fn reset_query_pool(
    &self,
    device: Device,
    query_pool: QueryPool,
    first_query: u32,
    query_count: u32
) -> c_void
[src]

pub unsafe fn get_semaphore_counter_value(
    &self,
    device: Device,
    semaphore: Semaphore,
    p_value: *mut u64
) -> Result
[src]

pub unsafe fn wait_semaphores(
    &self,
    device: Device,
    p_wait_info: *const SemaphoreWaitInfo,
    timeout: u64
) -> Result
[src]

pub unsafe fn signal_semaphore(
    &self,
    device: Device,
    p_signal_info: *const SemaphoreSignalInfo
) -> Result
[src]

pub unsafe fn get_buffer_device_address(
    &self,
    device: Device,
    p_info: *const BufferDeviceAddressInfo
) -> DeviceAddress
[src]

pub unsafe fn get_buffer_opaque_capture_address(
    &self,
    device: Device,
    p_info: *const BufferDeviceAddressInfo
) -> u64
[src]

pub unsafe fn get_device_memory_opaque_capture_address(
    &self,
    device: Device,
    p_info: *const DeviceMemoryOpaqueCaptureAddressInfo
) -> u64
[src]

Trait Implementations

impl Clone for DeviceFnV1_2[src]

impl Send for DeviceFnV1_2[src]

impl Sync for DeviceFnV1_2[src]

Auto Trait Implementations

impl RefUnwindSafe for DeviceFnV1_2

impl Unpin for DeviceFnV1_2

impl UnwindSafe for DeviceFnV1_2

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.