Skip to main content

IRenderGraphMethods

Trait IRenderGraphMethods 

Source
pub trait IRenderGraphMethods: IRenderGraph {
Show 57 methods // Provided methods fn get_name(self) -> Il2CppString { ... } fn set_name(self, value: impl Into<Il2CppString>) { ... } fn get_default_resources(self) -> RenderGraphDefaultResources { ... } fn ctor(self, name: impl Into<Il2CppString>) { ... } fn cleanup(self) { ... } fn get_debug_data(self) -> RenderGraphDebugData { ... } fn end_frame(self) { ... } fn import_texture(self, rt: impl Into<RTHandle>) -> TextureHandle { ... } fn import_backbuffer( self, rt: impl Into<RenderTargetIdentifier>, ) -> TextureHandle { ... } fn create_texture(self) -> (TextureHandle, TextureDesc) { ... } fn create_texture_2( self, texture: impl Into<TextureHandle>, ) -> TextureHandle { ... } fn create_texture_if_invalid(self) -> (TextureDesc, TextureHandle) { ... } fn get_texture_desc(self, texture: impl Into<TextureHandle>) -> TextureDesc { ... } fn create_renderer_list(self) -> (RendererListHandle, RendererListDesc) { ... } fn import_compute_buffer( self, compute_buffer: impl Into<ComputeBuffer>, ) -> ComputeBufferHandle { ... } fn create_compute_buffer(self) -> (ComputeBufferHandle, ComputeBufferDesc) { ... } fn create_compute_buffer_2( self, ) -> (ComputeBufferHandle, ComputeBufferHandle) { ... } fn get_compute_buffer_desc(self) -> (ComputeBufferDesc, ComputeBufferHandle) { ... } fn add_render_pass<M0: IlType + Copy + ClassIdentity>( self, pass_name: impl Into<Il2CppString>, pass_data: impl Into<*mut M0>, sampler: impl Into<ProfilingSampler>, ) -> RenderGraphBuilder { ... } fn add_render_pass_2<M0: IlType + Copy + ClassIdentity>( self, pass_name: impl Into<Il2CppString>, pass_data: impl Into<*mut M0>, ) -> RenderGraphBuilder { ... } fn begin(self) -> RenderGraphParameters { ... } fn execute(self) { ... } fn begin_profiling_sampler(self, sampler: impl Into<ProfilingSampler>) { ... } fn end_profiling_sampler(self, sampler: impl Into<ProfilingSampler>) { ... } fn get_compiled_pass_infos( self, ) -> DynamicArray_1<RenderGraph_CompiledPassInfo> { ... } fn clear_compiled_graph(self) { ... } fn invalidate_context(self) { ... } fn on_pass_added(self, pass: impl Into<RenderGraphPass>) { ... } fn init_resource_infos_data( self, resource_infos: impl Into<DynamicArray_1<RenderGraph_CompiledResourceInfo>>, count: impl Into<i32>, ) { ... } fn initialize_compilation_data(self) { ... } fn count_references(self) { ... } fn cull_outputless_passes(self) { ... } fn cull_unused_passes(self) { ... } fn update_pass_synchronization( self, current_pass_index: impl Into<i32>, last_producer: impl Into<i32>, ) -> (RenderGraph_CompiledPassInfo, RenderGraph_CompiledPassInfo, i32) { ... } fn update_resource_synchronization( self, current_pass_index: impl Into<i32>, ) -> (i32, i32, RenderGraph_CompiledResourceInfo) { ... } fn get_latest_producer_index( self, pass_index: impl Into<i32>, ) -> (i32, RenderGraph_CompiledResourceInfo) { ... } fn get_latest_valid_read_index( self, ) -> (i32, RenderGraph_CompiledResourceInfo) { ... } fn get_first_valid_write_index( self, ) -> (i32, RenderGraph_CompiledResourceInfo) { ... } fn get_latest_valid_write_index( self, ) -> (i32, RenderGraph_CompiledResourceInfo) { ... } fn update_resource_allocation_and_synchronization(self) { ... } fn compile_render_graph(self) { ... } fn compile_pass_immediatly( self, pass: impl Into<RenderGraphPass>, ) -> *mut RenderGraph_CompiledPassInfo { ... } fn execute_pass_immediatly(self, pass: impl Into<RenderGraphPass>) { ... } fn execute_compiled_pass( self, pass_index: impl Into<i32>, ) -> RenderGraph_CompiledPassInfo { ... } fn execute_render_graph(self) { ... } fn pre_render_pass_set_render_targets( self, rg_context: impl Into<RenderGraphContext>, ) -> RenderGraph_CompiledPassInfo { ... } fn pre_render_pass_execute( self, rg_context: impl Into<RenderGraphContext>, ) -> RenderGraph_CompiledPassInfo { ... } fn post_render_pass_execute( self, rg_context: impl Into<RenderGraphContext>, ) -> RenderGraph_CompiledPassInfo { ... } fn clear_render_passes(self) { ... } fn release_immediate_mode_resources(self) { ... } fn log_frame_information(self) { ... } fn log_renderer_lists_creation(self) { ... } fn log_render_pass_begin(self) -> RenderGraph_CompiledPassInfo { ... } fn log_culled_passes(self) { ... } fn get_default_profiling_sampler( self, name: impl Into<Il2CppString>, ) -> ProfilingSampler { ... } fn update_imported_resource_life_time( self, pass_list: impl Into<List_1<i32>>, ) -> RenderGraphDebugData_ResourceDebugData { ... } fn generate_debug_data(self) { ... }
}

Provided Methods§

Source

fn get_name(self) -> Il2CppString

get_name() overload

Source

fn set_name(self, value: impl Into<Il2CppString>)

set_name(::unity::Il2CppString) overload

Source

fn get_default_resources(self) -> RenderGraphDefaultResources

get_defaultResources() overload

Source

fn ctor(self, name: impl Into<Il2CppString>)

.ctor(::unity::Il2CppString) overload

Source

fn cleanup(self)

Cleanup() overload

Source

fn get_debug_data(self) -> RenderGraphDebugData

GetDebugData() overload

Source

fn end_frame(self)

EndFrame() overload

Source

fn import_texture(self, rt: impl Into<RTHandle>) -> TextureHandle

ImportTexture(crate::unity_engine::rendering::rthandle::RTHandle) overload

Source

fn import_backbuffer( self, rt: impl Into<RenderTargetIdentifier>, ) -> TextureHandle

ImportBackbuffer(crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier) overload

Source

fn create_texture(self) -> (TextureHandle, TextureDesc)

CreateTexture(*mutcrate::unity_engine::experimental::rendering::render_graph_module::texturedesc::TextureDesc) overload

Source

fn create_texture_2(self, texture: impl Into<TextureHandle>) -> TextureHandle

CreateTexture(crate::unity_engine::experimental::rendering::render_graph_module::texturehandle::TextureHandle) overload

Source

fn create_texture_if_invalid(self) -> (TextureDesc, TextureHandle)

CreateTextureIfInvalid(*mutcrate::unity_engine::experimental::rendering::render_graph_module::texturedesc::TextureDesc, *mutcrate::unity_engine::experimental::rendering::render_graph_module::texturehandle::TextureHandle) overload

Source

fn get_texture_desc(self, texture: impl Into<TextureHandle>) -> TextureDesc

GetTextureDesc(crate::unity_engine::experimental::rendering::render_graph_module::texturehandle::TextureHandle) overload

Source

fn create_renderer_list(self) -> (RendererListHandle, RendererListDesc)

CreateRendererList(*mutcrate::unity_engine::experimental::rendering::rendererlistdesc::RendererListDesc) overload

Source

fn import_compute_buffer( self, compute_buffer: impl Into<ComputeBuffer>, ) -> ComputeBufferHandle

ImportComputeBuffer(crate::unity_engine::computebuffer::ComputeBuffer) overload

Source

fn create_compute_buffer(self) -> (ComputeBufferHandle, ComputeBufferDesc)

CreateComputeBuffer(*mutcrate::unity_engine::experimental::rendering::render_graph_module::computebufferdesc::ComputeBufferDesc) overload

Source

fn create_compute_buffer_2(self) -> (ComputeBufferHandle, ComputeBufferHandle)

CreateComputeBuffer(*mutcrate::unity_engine::experimental::rendering::render_graph_module::computebufferhandle::ComputeBufferHandle) overload

Source

fn get_compute_buffer_desc(self) -> (ComputeBufferDesc, ComputeBufferHandle)

GetComputeBufferDesc(*mutcrate::unity_engine::experimental::rendering::render_graph_module::computebufferhandle::ComputeBufferHandle) overload

Source

fn add_render_pass<M0: IlType + Copy + ClassIdentity>( self, pass_name: impl Into<Il2CppString>, pass_data: impl Into<*mut M0>, sampler: impl Into<ProfilingSampler>, ) -> RenderGraphBuilder

Source

fn add_render_pass_2<M0: IlType + Copy + ClassIdentity>( self, pass_name: impl Into<Il2CppString>, pass_data: impl Into<*mut M0>, ) -> RenderGraphBuilder

Source

fn begin(self) -> RenderGraphParameters

Begin(*mutcrate::unity_engine::experimental::rendering::render_graph_module::rendergraphparameters::RenderGraphParameters) overload

Source

fn execute(self)

Execute() overload

Source

fn begin_profiling_sampler(self, sampler: impl Into<ProfilingSampler>)

BeginProfilingSampler(crate::unity_engine::rendering::profilingsampler::ProfilingSampler) overload

Source

fn end_profiling_sampler(self, sampler: impl Into<ProfilingSampler>)

EndProfilingSampler(crate::unity_engine::rendering::profilingsampler::ProfilingSampler) overload

Source

fn get_compiled_pass_infos(self) -> DynamicArray_1<RenderGraph_CompiledPassInfo>

GetCompiledPassInfos() overload

Source

fn clear_compiled_graph(self)

ClearCompiledGraph() overload

Source

fn invalidate_context(self)

InvalidateContext() overload

Source

fn on_pass_added(self, pass: impl Into<RenderGraphPass>)

OnPassAdded(crate::unity_engine::experimental::rendering::render_graph_module::rendergraphpass::RenderGraphPass) overload

Source

fn init_resource_infos_data( self, resource_infos: impl Into<DynamicArray_1<RenderGraph_CompiledResourceInfo>>, count: impl Into<i32>, )

InitResourceInfosData(crate::unity_engine::rendering::dynamicarray_1::DynamicArray_1<crate::unity_engine::experimental::rendering::render_graph_module::rendergraph::RenderGraph_CompiledResourceInfo>, i32) overload

Source

fn initialize_compilation_data(self)

InitializeCompilationData() overload

Source

fn count_references(self)

CountReferences() overload

Source

fn cull_outputless_passes(self)

CullOutputlessPasses() overload

Source

fn cull_unused_passes(self)

CullUnusedPasses() overload

Source

fn update_pass_synchronization( self, current_pass_index: impl Into<i32>, last_producer: impl Into<i32>, ) -> (RenderGraph_CompiledPassInfo, RenderGraph_CompiledPassInfo, i32)

UpdatePassSynchronization(*mutcrate::unity_engine::experimental::rendering::render_graph_module::rendergraph::RenderGraph_CompiledPassInfo, *mutcrate::unity_engine::experimental::rendering::render_graph_module::rendergraph::RenderGraph_CompiledPassInfo, i32, i32, *muti32) overload

Source

fn update_resource_synchronization( self, current_pass_index: impl Into<i32>, ) -> (i32, i32, RenderGraph_CompiledResourceInfo)

UpdateResourceSynchronization(*muti32, *muti32, i32, *mutcrate::unity_engine::experimental::rendering::render_graph_module::rendergraph::RenderGraph_CompiledResourceInfo) overload

Source

fn get_latest_producer_index( self, pass_index: impl Into<i32>, ) -> (i32, RenderGraph_CompiledResourceInfo)

GetLatestProducerIndex(i32, *mutcrate::unity_engine::experimental::rendering::render_graph_module::rendergraph::RenderGraph_CompiledResourceInfo) overload

Source

fn get_latest_valid_read_index(self) -> (i32, RenderGraph_CompiledResourceInfo)

GetLatestValidReadIndex(*mutcrate::unity_engine::experimental::rendering::render_graph_module::rendergraph::RenderGraph_CompiledResourceInfo) overload

Source

fn get_first_valid_write_index(self) -> (i32, RenderGraph_CompiledResourceInfo)

GetFirstValidWriteIndex(*mutcrate::unity_engine::experimental::rendering::render_graph_module::rendergraph::RenderGraph_CompiledResourceInfo) overload

Source

fn get_latest_valid_write_index(self) -> (i32, RenderGraph_CompiledResourceInfo)

GetLatestValidWriteIndex(*mutcrate::unity_engine::experimental::rendering::render_graph_module::rendergraph::RenderGraph_CompiledResourceInfo) overload

Source

fn update_resource_allocation_and_synchronization(self)

UpdateResourceAllocationAndSynchronization() overload

Source

fn compile_render_graph(self)

CompileRenderGraph() overload

Source

fn compile_pass_immediatly( self, pass: impl Into<RenderGraphPass>, ) -> *mut RenderGraph_CompiledPassInfo

CompilePassImmediatly(crate::unity_engine::experimental::rendering::render_graph_module::rendergraphpass::RenderGraphPass) overload

Source

fn execute_pass_immediatly(self, pass: impl Into<RenderGraphPass>)

ExecutePassImmediatly(crate::unity_engine::experimental::rendering::render_graph_module::rendergraphpass::RenderGraphPass) overload

Source

fn execute_compiled_pass( self, pass_index: impl Into<i32>, ) -> RenderGraph_CompiledPassInfo

ExecuteCompiledPass(*mutcrate::unity_engine::experimental::rendering::render_graph_module::rendergraph::RenderGraph_CompiledPassInfo, i32) overload

Source

fn execute_render_graph(self)

ExecuteRenderGraph() overload

Source

fn pre_render_pass_set_render_targets( self, rg_context: impl Into<RenderGraphContext>, ) -> RenderGraph_CompiledPassInfo

PreRenderPassSetRenderTargets(*mutcrate::unity_engine::experimental::rendering::render_graph_module::rendergraph::RenderGraph_CompiledPassInfo, crate::unity_engine::experimental::rendering::render_graph_module::rendergraphcontext::RenderGraphContext) overload

Source

fn pre_render_pass_execute( self, rg_context: impl Into<RenderGraphContext>, ) -> RenderGraph_CompiledPassInfo

PreRenderPassExecute(*mutcrate::unity_engine::experimental::rendering::render_graph_module::rendergraph::RenderGraph_CompiledPassInfo, crate::unity_engine::experimental::rendering::render_graph_module::rendergraphcontext::RenderGraphContext) overload

Source

fn post_render_pass_execute( self, rg_context: impl Into<RenderGraphContext>, ) -> RenderGraph_CompiledPassInfo

PostRenderPassExecute(*mutcrate::unity_engine::experimental::rendering::render_graph_module::rendergraph::RenderGraph_CompiledPassInfo, crate::unity_engine::experimental::rendering::render_graph_module::rendergraphcontext::RenderGraphContext) overload

Source

fn clear_render_passes(self)

ClearRenderPasses() overload

Source

fn release_immediate_mode_resources(self)

ReleaseImmediateModeResources() overload

Source

fn log_frame_information(self)

LogFrameInformation() overload

Source

fn log_renderer_lists_creation(self)

LogRendererListsCreation() overload

Source

fn log_render_pass_begin(self) -> RenderGraph_CompiledPassInfo

LogRenderPassBegin(*mutcrate::unity_engine::experimental::rendering::render_graph_module::rendergraph::RenderGraph_CompiledPassInfo) overload

Source

fn log_culled_passes(self)

LogCulledPasses() overload

Source

fn get_default_profiling_sampler( self, name: impl Into<Il2CppString>, ) -> ProfilingSampler

GetDefaultProfilingSampler(::unity::Il2CppString) overload

Source

fn update_imported_resource_life_time( self, pass_list: impl Into<List_1<i32>>, ) -> RenderGraphDebugData_ResourceDebugData

UpdateImportedResourceLifeTime(*mutcrate::unity_engine::experimental::rendering::render_graph_module::rendergraphdebugdata::RenderGraphDebugData_ResourceDebugData, crate::system::collections::generic::list_1::List_1<i32>) overload

Source

fn generate_debug_data(self)

GenerateDebugData() overload

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<__T: IRenderGraph> IRenderGraphMethods for __T

Available on crate feature unity_engine-experimental-rendering-render_graph_module-rendergraph only.