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

pub struct KhrCreateRenderpass2Fn {
    pub create_render_pass2_khr: 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_khr: extern "system" fn(command_buffer: CommandBuffer, p_render_pass_begin: *const RenderPassBeginInfo, p_subpass_begin_info: *const SubpassBeginInfo) -> c_void,
    pub cmd_next_subpass2_khr: 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_khr: extern "system" fn(command_buffer: CommandBuffer, p_subpass_end_info: *const SubpassEndInfo) -> c_void,
}

Fields

create_render_pass2_khr: extern "system" fn(device: Device, p_create_info: *const RenderPassCreateInfo2, 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 SubpassBeginInfo) -> c_voidcmd_next_subpass2_khr: extern "system" fn(command_buffer: CommandBuffer, p_subpass_begin_info: *const SubpassBeginInfo, p_subpass_end_info: *const SubpassEndInfo) -> c_voidcmd_end_render_pass2_khr: extern "system" fn(command_buffer: CommandBuffer, p_subpass_end_info: *const SubpassEndInfo) -> 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 RenderPassCreateInfo2,
    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 SubpassBeginInfo
) -> c_void
[src]

pub unsafe fn cmd_next_subpass2_khr(
    &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_khr(
    &self,
    command_buffer: CommandBuffer,
    p_subpass_end_info: *const SubpassEndInfo
) -> c_void
[src]

Trait Implementations

impl Clone for KhrCreateRenderpass2Fn[src]

impl Send for KhrCreateRenderpass2Fn[src]

impl Sync for KhrCreateRenderpass2Fn[src]

Auto Trait Implementations

impl RefUnwindSafe for KhrCreateRenderpass2Fn

impl Unpin for KhrCreateRenderpass2Fn

impl UnwindSafe for KhrCreateRenderpass2Fn

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.