Ebus to receive scene's notifications. More...
#include <SceneBus.h>
Inherits AZ::EBusTraits.
Classes | |
struct | SceneConnectionPolicy |
Custom connection policy to make sure events are fully in sync. More... | |
Public Types | |
enum class | RenderPipelineChangeType { Added , PassChanged , Removed } |
using | BusIdType = SceneId |
template<typename Bus > | |
using | ConnectionPolicy = SceneConnectionPolicy< Bus > |
Public Member Functions | |
virtual void | OnRenderPipelineAdded (RenderPipelinePtr pipeline) |
virtual void | OnRenderPipelinePassesChanged (RenderPipeline *renderPipeline) |
virtual void | OnRenderPipelineRemoved (RenderPipeline *pipeline) |
virtual void | OnRenderPipelineChanged (RenderPipeline *, RenderPipelineChangeType) |
virtual void | OnRenderPipelinePersistentViewChanged (RenderPipeline *renderPipeline, PipelineViewTag viewTag, ViewPtr newView, ViewPtr previousView) |
virtual void | OnBeginPrepareRender () |
virtual void | OnEndPrepareRender () |
Notifies when the PrepareRender phase is ending. | |
Static Public Attributes | |
static const AZ::EBusHandlerPolicy | HandlerPolicy = AZ::EBusHandlerPolicy::Multiple |
static const AZ::EBusAddressPolicy | AddressPolicy = AZ::EBusAddressPolicy::ById |
Ebus to receive scene's notifications.
|
inlinevirtual |
Notifies when the PrepareRender phase is beginning This phase is when data is read from the FeatureProcessors and written to the draw lists.
|
inlinevirtual |
O3DE_DEPRECATION_NOTICE(GHI-12687)
pipeline | The render pipeline which was added |
|
inlinevirtual |
Notifies when a render pipeline was added, removed or changed
pipeline | The render pipeline which was added |
|
inlinevirtual |
O3DE_DEPRECATION_NOTICE(GHI-12687)
pipeline | The render pipeline which was modified |
|
inlinevirtual |
Notifies when a persistent view is set/changed (for a particular RenderPipeline + ViewTag)
pipeline | The render pipeline which was modified |
viewTag | The viewTag in this render pipeline which the new view was set to |
newView | The view which was set to the render pipeline's view tag |
previousView | The previous view associates to render pipeline's view tag before the new view was set |
|
inlinevirtual |
O3DE_DEPRECATION_NOTICE(GHI-12687)
pipeline | The render pipeline which was removed |