Struct machinery_api::plugins::render_graph::RenderGraphSetupApi[][src]

#[repr(C)]
pub struct RenderGraphSetupApi {
Show 17 fields pub external_resource: Option<unsafe extern "C" fn(graph_setup: *mut RenderGraphSetupO, name: StrhashT) -> RenderGraphHandleT>, pub image_desc: Option<unsafe extern "C" fn(graph_setup: *mut RenderGraphSetupO, handle: RenderGraphHandleT) -> *const RendererImageDescT>, pub buffer_desc: Option<unsafe extern "C" fn(graph_setup: *mut RenderGraphSetupO, handle: RenderGraphHandleT) -> *const RendererBufferDescT>, pub shader_repository: Option<unsafe extern "C" fn(graph_setup: *mut RenderGraphSetupO) -> *mut ShaderRepositoryO>, pub create_gpu_images: Option<unsafe extern "C" fn(graph_setup: *mut RenderGraphSetupO, image_descs: *const RendererImageDescT, num_images: u32, handles: *mut RenderGraphHandleT)>, pub create_gpu_buffers: Option<unsafe extern "C" fn(graph_setup: *mut RenderGraphSetupO, buffer_descs: *const RendererBufferDescT, num_buffers: u32, handles: *mut RenderGraphHandleT)>, pub read_gpu_resource: Option<unsafe extern "C" fn(graph_setup: *mut RenderGraphSetupO, handle: RenderGraphHandleT, wanted_resource_state: u32, subresource_view: *const RendererImageViewT)>, pub write_gpu_resource: Option<unsafe extern "C" fn(graph_setup: *mut RenderGraphSetupO, handle: RenderGraphHandleT, write_bind_flags: RenderGraphWriteBindFlag, wanted_resource_state: u32, load_op: u32, bind_slot: u32, blackboard_key: StrhashT, subresource_view: *const RendererImageViewT)>, pub set_active: Option<unsafe extern "C" fn(graph_setup: *mut RenderGraphSetupO, state: bool)>, pub set_early_out: Option<unsafe extern "C" fn(graph_setup: *mut RenderGraphSetupO, state: bool)>, pub set_output: Option<unsafe extern "C" fn(graph_setup: *mut RenderGraphSetupO, state: bool)>, pub set_request_async_compute: Option<unsafe extern "C" fn(graph_setup: *mut RenderGraphSetupO, state: bool)>, pub set_request_multi_gpu: Option<unsafe extern "C" fn(graph_setup: *mut RenderGraphSetupO, device_affinity_mask: u32)>, pub expose_as_material_layer: Option<unsafe extern "C" fn(graph_setup: *mut RenderGraphSetupO, layer_name: StrhashT)>, pub write_blackboard: Option<unsafe extern "C" fn(graph_setup: *mut RenderGraphSetupO, key: StrhashT, value: RenderGraphBlackboardValue)>, pub read_blackboard: Option<unsafe extern "C" fn(graph_setup: *mut RenderGraphSetupO, key: StrhashT, value: *mut RenderGraphBlackboardValue) -> bool>, pub request_data: Option<unsafe extern "C" fn(graph_setup: *mut RenderGraphSetupO, name: StrhashT)>,
}

Fields

external_resource: Option<unsafe extern "C" fn(graph_setup: *mut RenderGraphSetupO, name: StrhashT) -> RenderGraphHandleT>image_desc: Option<unsafe extern "C" fn(graph_setup: *mut RenderGraphSetupO, handle: RenderGraphHandleT) -> *const RendererImageDescT>buffer_desc: Option<unsafe extern "C" fn(graph_setup: *mut RenderGraphSetupO, handle: RenderGraphHandleT) -> *const RendererBufferDescT>shader_repository: Option<unsafe extern "C" fn(graph_setup: *mut RenderGraphSetupO) -> *mut ShaderRepositoryO>create_gpu_images: Option<unsafe extern "C" fn(graph_setup: *mut RenderGraphSetupO, image_descs: *const RendererImageDescT, num_images: u32, handles: *mut RenderGraphHandleT)>create_gpu_buffers: Option<unsafe extern "C" fn(graph_setup: *mut RenderGraphSetupO, buffer_descs: *const RendererBufferDescT, num_buffers: u32, handles: *mut RenderGraphHandleT)>read_gpu_resource: Option<unsafe extern "C" fn(graph_setup: *mut RenderGraphSetupO, handle: RenderGraphHandleT, wanted_resource_state: u32, subresource_view: *const RendererImageViewT)>write_gpu_resource: Option<unsafe extern "C" fn(graph_setup: *mut RenderGraphSetupO, handle: RenderGraphHandleT, write_bind_flags: RenderGraphWriteBindFlag, wanted_resource_state: u32, load_op: u32, bind_slot: u32, blackboard_key: StrhashT, subresource_view: *const RendererImageViewT)>set_active: Option<unsafe extern "C" fn(graph_setup: *mut RenderGraphSetupO, state: bool)>set_early_out: Option<unsafe extern "C" fn(graph_setup: *mut RenderGraphSetupO, state: bool)>set_output: Option<unsafe extern "C" fn(graph_setup: *mut RenderGraphSetupO, state: bool)>set_request_async_compute: Option<unsafe extern "C" fn(graph_setup: *mut RenderGraphSetupO, state: bool)>set_request_multi_gpu: Option<unsafe extern "C" fn(graph_setup: *mut RenderGraphSetupO, device_affinity_mask: u32)>expose_as_material_layer: Option<unsafe extern "C" fn(graph_setup: *mut RenderGraphSetupO, layer_name: StrhashT)>write_blackboard: Option<unsafe extern "C" fn(graph_setup: *mut RenderGraphSetupO, key: StrhashT, value: RenderGraphBlackboardValue)>read_blackboard: Option<unsafe extern "C" fn(graph_setup: *mut RenderGraphSetupO, key: StrhashT, value: *mut RenderGraphBlackboardValue) -> bool>request_data: Option<unsafe extern "C" fn(graph_setup: *mut RenderGraphSetupO, name: StrhashT)>

Implementations

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.