[][src]Struct ash::vk::KhrCreateRenderpass2Fn

pub struct KhrCreateRenderpass2Fn {
    pub create_render_pass2_khr: extern "system" fn(device: Device, p_create_info: *const RenderPassCreateInfo2KHR, p_allocator: *const AllocationCallbacks, p_render_pass: *mut RenderPass) -> Result,
    pub cmd_begin_render_pass2_khr: extern "system" fn(command_buffer: CommandBuffer, p_render_pass_begin: *const RenderPassBeginInfo, p_subpass_begin_info: *const SubpassBeginInfoKHR) -> c_void,
    pub cmd_next_subpass2_khr: extern "system" fn(command_buffer: CommandBuffer, p_subpass_begin_info: *const SubpassBeginInfoKHR, p_subpass_end_info: *const SubpassEndInfoKHR) -> c_void,
    pub cmd_end_render_pass2_khr: extern "system" fn(command_buffer: CommandBuffer, p_subpass_end_info: *const SubpassEndInfoKHR) -> c_void,
}

Fields

create_render_pass2_khr: extern "system" fn(device: Device, p_create_info: *const RenderPassCreateInfo2KHR, p_allocator: *const AllocationCallbacks, p_render_pass: *mut RenderPass) -> Resultcmd_begin_render_pass2_khr: extern "system" fn(command_buffer: CommandBuffer, p_render_pass_begin: *const RenderPassBeginInfo, p_subpass_begin_info: *const SubpassBeginInfoKHR) -> c_voidcmd_next_subpass2_khr: extern "system" fn(command_buffer: CommandBuffer, p_subpass_begin_info: *const SubpassBeginInfoKHR, p_subpass_end_info: *const SubpassEndInfoKHR) -> c_voidcmd_end_render_pass2_khr: extern "system" fn(command_buffer: CommandBuffer, p_subpass_end_info: *const SubpassEndInfoKHR) -> c_void

Methods

impl KhrCreateRenderpass2Fn[src]

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

impl KhrCreateRenderpass2Fn[src]

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

pub unsafe fn create_render_pass2_khr(
    &self,
    device: Device,
    p_create_info: *const RenderPassCreateInfo2KHR,
    p_allocator: *const AllocationCallbacks,
    p_render_pass: *mut RenderPass
) -> Result
[src]

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

pub unsafe fn cmd_next_subpass2_khr(
    &self,
    command_buffer: CommandBuffer,
    p_subpass_begin_info: *const SubpassBeginInfoKHR,
    p_subpass_end_info: *const SubpassEndInfoKHR
) -> c_void
[src]

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

Trait Implementations

impl Sync for KhrCreateRenderpass2Fn[src]

impl Clone for KhrCreateRenderpass2Fn[src]

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

Performs copy-assignment from source. Read more

impl Send for KhrCreateRenderpass2Fn[src]

Auto Trait Implementations

impl Unpin for KhrCreateRenderpass2Fn

impl UnwindSafe for KhrCreateRenderpass2Fn

impl RefUnwindSafe for KhrCreateRenderpass2Fn

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]