Struct ash::vk::KhrCreateRenderpass2Fn
source · [−]pub struct KhrCreateRenderpass2Fn {
pub create_render_pass2_khr: PFN_vkCreateRenderPass2,
pub cmd_begin_render_pass2_khr: PFN_vkCmdBeginRenderPass2,
pub cmd_next_subpass2_khr: PFN_vkCmdNextSubpass2,
pub cmd_end_render_pass2_khr: PFN_vkCmdEndRenderPass2,
}
Fields
create_render_pass2_khr: PFN_vkCreateRenderPass2
cmd_begin_render_pass2_khr: PFN_vkCmdBeginRenderPass2
cmd_next_subpass2_khr: PFN_vkCmdNextSubpass2
cmd_end_render_pass2_khr: PFN_vkCmdEndRenderPass2
Implementations
sourceimpl KhrCreateRenderpass2Fn
impl KhrCreateRenderpass2Fn
pub fn load<F>(_f: F) -> Self where
F: FnMut(&CStr) -> *const c_void,
sourcepub unsafe fn create_render_pass2_khr(
&self,
device: Device,
p_create_info: *const RenderPassCreateInfo2,
p_allocator: *const AllocationCallbacks,
p_render_pass: *mut RenderPass
) -> Result
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
sourcepub unsafe fn cmd_begin_render_pass2_khr(
&self,
command_buffer: CommandBuffer,
p_render_pass_begin: *const RenderPassBeginInfo,
p_subpass_begin_info: *const SubpassBeginInfo
)
pub unsafe fn cmd_begin_render_pass2_khr(
&self,
command_buffer: CommandBuffer,
p_render_pass_begin: *const RenderPassBeginInfo,
p_subpass_begin_info: *const SubpassBeginInfo
)
sourcepub unsafe fn cmd_next_subpass2_khr(
&self,
command_buffer: CommandBuffer,
p_subpass_begin_info: *const SubpassBeginInfo,
p_subpass_end_info: *const SubpassEndInfo
)
pub unsafe fn cmd_next_subpass2_khr(
&self,
command_buffer: CommandBuffer,
p_subpass_begin_info: *const SubpassBeginInfo,
p_subpass_end_info: *const SubpassEndInfo
)
sourcepub unsafe fn cmd_end_render_pass2_khr(
&self,
command_buffer: CommandBuffer,
p_subpass_end_info: *const SubpassEndInfo
)
pub unsafe fn cmd_end_render_pass2_khr(
&self,
command_buffer: CommandBuffer,
p_subpass_end_info: *const SubpassEndInfo
)
Trait Implementations
sourceimpl Clone for KhrCreateRenderpass2Fn
impl Clone for KhrCreateRenderpass2Fn
sourcefn clone(&self) -> KhrCreateRenderpass2Fn
fn clone(&self) -> KhrCreateRenderpass2Fn
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 KhrCreateRenderpass2Fn
impl Sync for KhrCreateRenderpass2Fn
Auto Trait Implementations
impl RefUnwindSafe for KhrCreateRenderpass2Fn
impl Unpin for KhrCreateRenderpass2Fn
impl UnwindSafe for KhrCreateRenderpass2Fn
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