#[repr(C)]pub struct RenderGraphPassApi {
pub init_pass: Option<unsafe extern "C" fn(const_data: *mut c_void, allocator: *mut AllocatorI, res_buf: *mut RendererResourceCommandBufferO)>,
pub shutdown_pass: Option<unsafe extern "C" fn(const_data: *mut c_void, allocator: *mut AllocatorI, res_buf: *mut RendererResourceCommandBufferO)>,
pub setup_pass: Option<unsafe extern "C" fn(const_data: *const c_void, runtime_data: *mut c_void, graph_setup: *mut RenderGraphSetupO)>,
pub execute_pass: Option<unsafe extern "C" fn(const_data: *const c_void, runtime_data: *mut c_void, sort_key: u64, graph_execute: *mut RenderGraphExecuteO)>,
}
Fields§
§init_pass: Option<unsafe extern "C" fn(const_data: *mut c_void, allocator: *mut AllocatorI, res_buf: *mut RendererResourceCommandBufferO)>
§shutdown_pass: Option<unsafe extern "C" fn(const_data: *mut c_void, allocator: *mut AllocatorI, res_buf: *mut RendererResourceCommandBufferO)>
§setup_pass: Option<unsafe extern "C" fn(const_data: *const c_void, runtime_data: *mut c_void, graph_setup: *mut RenderGraphSetupO)>
§execute_pass: Option<unsafe extern "C" fn(const_data: *const c_void, runtime_data: *mut c_void, sort_key: u64, graph_execute: *mut RenderGraphExecuteO)>
Implementations§
Source§impl RenderGraphPassApi
impl RenderGraphPassApi
pub unsafe fn init_pass( &self, const_data: *mut c_void, allocator: *mut AllocatorI, res_buf: *mut RendererResourceCommandBufferO, )
pub unsafe fn shutdown_pass( &self, const_data: *mut c_void, allocator: *mut AllocatorI, res_buf: *mut RendererResourceCommandBufferO, )
pub unsafe fn setup_pass( &self, const_data: *const c_void, runtime_data: *mut c_void, graph_setup: *mut RenderGraphSetupO, )
pub unsafe fn execute_pass( &self, const_data: *const c_void, runtime_data: *mut c_void, sort_key: u64, graph_execute: *mut RenderGraphExecuteO, )
Trait Implementations§
Source§impl Clone for RenderGraphPassApi
impl Clone for RenderGraphPassApi
Source§fn clone(&self) -> RenderGraphPassApi
fn clone(&self) -> RenderGraphPassApi
Returns a duplicate 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 moreSource§impl Default for RenderGraphPassApi
impl Default for RenderGraphPassApi
Source§fn default() -> RenderGraphPassApi
fn default() -> RenderGraphPassApi
Returns the “default value” for a type. Read more
impl Copy for RenderGraphPassApi
Auto Trait Implementations§
impl Freeze for RenderGraphPassApi
impl RefUnwindSafe for RenderGraphPassApi
impl Send for RenderGraphPassApi
impl Sync for RenderGraphPassApi
impl Unpin for RenderGraphPassApi
impl UnwindSafe for RenderGraphPassApi
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