pub trait ICustomLightOcclusionPassMethods: ICustomLightOcclusionPass {
// Provided methods
fn ctor(
self,
evt: impl Into<RenderPassEvent>,
material: impl Into<Material>,
) { ... }
fn execute(
self,
context: impl Into<ScriptableRenderContext>,
) -> RenderingData { ... }
fn on_camera_cleanup(self, cmd: impl Into<CommandBuffer>) { ... }
fn set_depth_texture_enabled(self, flag: impl Into<bool>) { ... }
}Provided Methods§
Sourcefn ctor(self, evt: impl Into<RenderPassEvent>, material: impl Into<Material>)
fn ctor(self, evt: impl Into<RenderPassEvent>, material: impl Into<Material>)
.ctor(crate::unity_engine::rendering::universal::renderpassevent::RenderPassEvent, crate::unity_engine::material::Material) overload
Sourcefn execute(self, context: impl Into<ScriptableRenderContext>) -> RenderingData
fn execute(self, context: impl Into<ScriptableRenderContext>) -> RenderingData
Execute(crate::unity_engine::rendering::scriptablerendercontext::ScriptableRenderContext, *mutcrate::unity_engine::rendering::universal::renderingdata::RenderingData) overload
Sourcefn on_camera_cleanup(self, cmd: impl Into<CommandBuffer>)
fn on_camera_cleanup(self, cmd: impl Into<CommandBuffer>)
OnCameraCleanup(crate::unity_engine::rendering::commandbuffer::CommandBuffer) overload
Sourcefn set_depth_texture_enabled(self, flag: impl Into<bool>)
fn set_depth_texture_enabled(self, flag: impl Into<bool>)
SetDepthTextureEnabled(bool) 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§
impl<__T: ICustomLightOcclusionPass> ICustomLightOcclusionPassMethods for __T
Available on crate feature
unity_engine-rendering-universal-custom-internal-customlightocclusionpass only.