Struct machinery_api::plugins::render_graph::RenderGraphPassApi [−][src]
#[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
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
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for RenderGraphPassApi
impl Send for RenderGraphPassApi
impl Sync for RenderGraphPassApi
impl Unpin for RenderGraphPassApi
impl UnwindSafe for RenderGraphPassApi
Blanket Implementations
Mutably borrows from an owned value. Read more