Skip to main content

IAdditionalLightsShadowCasterPassMethods

Trait IAdditionalLightsShadowCasterPassMethods 

Source
pub trait IAdditionalLightsShadowCasterPassMethods: IAdditionalLightsShadowCasterPass {
    // Provided methods
    fn ctor(self, evt: impl Into<RenderPassEvent>) { ... }
    fn setup(self) -> (bool, RenderingData) { ... }
    fn configure(
        self,
        cmd: impl Into<CommandBuffer>,
        camera_texture_descriptor: impl Into<RenderTextureDescriptor>,
    ) { ... }
    fn execute(
        self,
        context: impl Into<ScriptableRenderContext>,
    ) -> RenderingData { ... }
    fn on_camera_cleanup(self, cmd: impl Into<CommandBuffer>) { ... }
    fn get_shadow_light_index_from_light_index(
        self,
        visible_light_index: impl Into<i32>,
    ) -> i32 { ... }
    fn clear(self) { ... }
    fn render_additional_shadowmap_atlas(
        self,
    ) -> (ScriptableRenderContext, CullingResults, LightData, ShadowData) { ... }
    fn setup_additional_lights_shadow_receiver_constants(
        self,
        cmd: impl Into<CommandBuffer>,
        soft_shadows: impl Into<bool>,
    ) -> ShadowData { ... }
    fn is_valid_shadow_casting_light(
        self,
        i: impl Into<i32>,
    ) -> (bool, LightData) { ... }
}

Provided Methods§

Source

fn ctor(self, evt: impl Into<RenderPassEvent>)

.ctor(crate::unity_engine::rendering::universal::renderpassevent::RenderPassEvent) overload

Source

fn setup(self) -> (bool, RenderingData)

Setup(*mutcrate::unity_engine::rendering::universal::renderingdata::RenderingData) overload

Source

fn configure( self, cmd: impl Into<CommandBuffer>, camera_texture_descriptor: impl Into<RenderTextureDescriptor>, )

Configure(crate::unity_engine::rendering::commandbuffer::CommandBuffer, crate::unity_engine::rendertexturedescriptor::RenderTextureDescriptor) 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 get_shadow_light_index_from_light_index( self, visible_light_index: impl Into<i32>, ) -> i32

GetShadowLightIndexFromLightIndex(i32) overload

Source

fn clear(self)

Clear() overload

Source

fn render_additional_shadowmap_atlas( self, ) -> (ScriptableRenderContext, CullingResults, LightData, ShadowData)

RenderAdditionalShadowmapAtlas(*mutcrate::unity_engine::rendering::scriptablerendercontext::ScriptableRenderContext, *mutcrate::unity_engine::rendering::cullingresults::CullingResults, *mutcrate::unity_engine::rendering::universal::lightdata::LightData, *mutcrate::unity_engine::rendering::universal::shadowdata::ShadowData) overload

Source

fn setup_additional_lights_shadow_receiver_constants( self, cmd: impl Into<CommandBuffer>, soft_shadows: impl Into<bool>, ) -> ShadowData

SetupAdditionalLightsShadowReceiverConstants(crate::unity_engine::rendering::commandbuffer::CommandBuffer, *mutcrate::unity_engine::rendering::universal::shadowdata::ShadowData, bool) overload

Source

fn is_valid_shadow_casting_light(self, i: impl Into<i32>) -> (bool, LightData)

IsValidShadowCastingLight(*mutcrate::unity_engine::rendering::universal::lightdata::LightData, i32) 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: IAdditionalLightsShadowCasterPass> IAdditionalLightsShadowCasterPassMethods for __T

Available on crate feature unity_engine-rendering-universal-internal-additionallightsshadowcasterpass only.