Skip to main content

ICustomLightOcclusionPassMethods

Trait ICustomLightOcclusionPassMethods 

Source
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§

Source

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

Source

fn execute(self, context: impl Into<ScriptableRenderContext>) -> RenderingData

Execute(crate::unity_engine::rendering::scriptablerendercontext::ScriptableRenderContext, *mutcrate::unity_engine::rendering::universal::renderingdata::RenderingData) overload

Source

fn on_camera_cleanup(self, cmd: impl Into<CommandBuffer>)

OnCameraCleanup(crate::unity_engine::rendering::commandbuffer::CommandBuffer) overload

Source

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§

Source§

impl<__T: ICustomLightOcclusionPass> ICustomLightOcclusionPassMethods for __T

Available on crate feature unity_engine-rendering-universal-custom-internal-customlightocclusionpass only.