pub struct CreateRenderPass2 { /* private fields */ }
Implementations§
Source§impl CreateRenderPass2
impl CreateRenderPass2
pub fn new(instance: &Instance, device: &Device) -> Self
Sourcepub unsafe fn create_render_pass2(
&self,
create_info: &RenderPassCreateInfo2,
allocation_callbacks: Option<&AllocationCallbacks>,
) -> VkResult<RenderPass>
pub unsafe fn create_render_pass2( &self, create_info: &RenderPassCreateInfo2, allocation_callbacks: Option<&AllocationCallbacks>, ) -> VkResult<RenderPass>
Sourcepub unsafe fn cmd_begin_render_pass2(
&self,
command_buffer: CommandBuffer,
render_pass_begin_info: &RenderPassBeginInfo,
subpass_begin_info: &SubpassBeginInfo,
)
pub unsafe fn cmd_begin_render_pass2( &self, command_buffer: CommandBuffer, render_pass_begin_info: &RenderPassBeginInfo, subpass_begin_info: &SubpassBeginInfo, )
Sourcepub unsafe fn cmd_next_subpass2(
&self,
command_buffer: CommandBuffer,
subpass_begin_info: &SubpassBeginInfo,
subpass_end_info: &SubpassEndInfo,
)
pub unsafe fn cmd_next_subpass2( &self, command_buffer: CommandBuffer, subpass_begin_info: &SubpassBeginInfo, subpass_end_info: &SubpassEndInfo, )
Sourcepub unsafe fn cmd_end_render_pass2(
&self,
command_buffer: CommandBuffer,
subpass_end_info: &SubpassEndInfo,
)
pub unsafe fn cmd_end_render_pass2( &self, command_buffer: CommandBuffer, subpass_end_info: &SubpassEndInfo, )
pub const fn name() -> &'static CStr
pub fn fp(&self) -> &KhrCreateRenderpass2Fn
pub fn device(&self) -> Device
Trait Implementations§
Source§impl Clone for CreateRenderPass2
impl Clone for CreateRenderPass2
Source§fn clone(&self) -> CreateRenderPass2
fn clone(&self) -> CreateRenderPass2
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for CreateRenderPass2
impl RefUnwindSafe for CreateRenderPass2
impl Send for CreateRenderPass2
impl Sync for CreateRenderPass2
impl Unpin for CreateRenderPass2
impl UnwindSafe for CreateRenderPass2
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)