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§
Sourcefn ctor(self, evt: impl Into<RenderPassEvent>)
fn ctor(self, evt: impl Into<RenderPassEvent>)
.ctor(crate::unity_engine::rendering::universal::renderpassevent::RenderPassEvent) overload
Sourcefn setup(self) -> (bool, RenderingData)
fn setup(self) -> (bool, RenderingData)
Setup(*mutcrate::unity_engine::rendering::universal::renderingdata::RenderingData) overload
Sourcefn configure(
self,
cmd: impl Into<CommandBuffer>,
camera_texture_descriptor: impl Into<RenderTextureDescriptor>,
)
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
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 get_shadow_light_index_from_light_index(
self,
visible_light_index: impl Into<i32>,
) -> i32
fn get_shadow_light_index_from_light_index( self, visible_light_index: impl Into<i32>, ) -> i32
GetShadowLightIndexFromLightIndex(i32) overload
Sourcefn render_additional_shadowmap_atlas(
self,
) -> (ScriptableRenderContext, CullingResults, LightData, ShadowData)
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
Sourcefn setup_additional_lights_shadow_receiver_constants(
self,
cmd: impl Into<CommandBuffer>,
soft_shadows: impl Into<bool>,
) -> ShadowData
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
Sourcefn is_valid_shadow_casting_light(self, i: impl Into<i32>) -> (bool, LightData)
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§
impl<__T: IAdditionalLightsShadowCasterPass> IAdditionalLightsShadowCasterPassMethods for __T
unity_engine-rendering-universal-internal-additionallightsshadowcasterpass only.