Inherits SceneRequestBus::Handler.
|
| AZ_CLASS_ALLOCATOR (Scene, AZ::SystemAllocator) |
|
| AZ_RTTI (Scene, "{29860D3E-D57E-41D9-8624-C39604EF2973}") |
|
void | Activate () |
|
void | Deactivate () |
|
template<typename FeatureProcessorType > |
FeatureProcessorType * | EnableFeatureProcessor () |
|
FeatureProcessor * | EnableFeatureProcessor (const FeatureProcessorId &featureProcessorId) |
|
void | EnableAllFeatureProcessors () |
| Enable all feature processors which were available (registered in feature processor factory) for this scene.
|
|
template<typename FeatureProcessorType > |
void | DisableFeatureProcessor () |
|
void | DisableFeatureProcessor (const FeatureProcessorId &featureProcessorId) |
|
void | DisableAllFeatureProcessors () |
|
void | VisitFeatureProcessor (FeatureProcessorVisitCallback callback) const |
|
template<typename FeatureProcessorType > |
FeatureProcessorType * | GetFeatureProcessor () const |
|
FeatureProcessor * | GetFeatureProcessor (const FeatureProcessorId &featureProcessorId) const |
|
FeatureProcessor * | GetFeatureProcessor (const TypeId &featureProcessorTypeId) const |
|
RenderPipelinePtr | GetRenderPipeline (const RenderPipelineId &pipelineId) const |
| Get pipeline by name id.
|
|
void | AddRenderPipeline (RenderPipelinePtr pipeline) |
|
void | RemoveRenderPipeline (const RenderPipelineId &pipelineId) |
|
const RHI::ShaderResourceGroup * | GetRHIShaderResourceGroup () const |
|
Data::Instance< ShaderResourceGroup > | GetShaderResourceGroup () const |
|
const SceneId & | GetId () const |
|
AZ::Name | GetName () const |
|
bool | SetDefaultRenderPipeline (const RenderPipelineId &pipelineId) |
|
RenderPipelinePtr | GetDefaultRenderPipeline () const |
| Return default pipeline. If the default pipeline wasn't set, then it would return nullptr.
|
|
const AZStd::vector< RenderPipelinePtr > & | GetRenderPipelines () const |
| Return all added render pipelines in this scene.
|
|
bool | ConfigurePipelineState (RHI::DrawListTag drawListTag, RHI::PipelineStateDescriptorForDraw &outPipelineState) const |
|
const PipelineStateList & | GetPipelineStates (RHI::DrawListTag drawListTag) const |
|
bool | HasOutputForPipelineState (RHI::DrawListTag drawListTag) const |
|
AzFramework::IVisibilityScene * | GetVisibilityScene () const |
|
AZ::RPI::CullingScene * | GetCullingScene () const |
|
RenderPipelinePtr | FindRenderPipelineForWindow (AzFramework::NativeWindowHandle windowHandle, ViewType viewType=ViewType::Default) |
|
void | ConnectEvent (PrepareSceneSrgEvent::Handler &handler) |
|
void | RebuildPipelineStatesLookup () |
|
void | TryApplyRenderPipelineChanges (RenderPipeline *pipeline) |
| Try apply render pipeline changes from each feature processors if the pipeline allows modification and wasn't modified.
|
|
RHI::TagBitRegistry< uint32_t > & | GetViewTagBitRegistry () |
|
RHI::Ptr< RHI::DrawFilterTagRegistry > | GetDrawFilterTagRegistry () const |
|
uint16_t | GetActiveRenderPipelines () const |
|
|
static ScenePtr | CreateScene (const SceneDescriptor &sceneDescriptor) |
|
static ScenePtr | CreateSceneFromAsset (Data::Asset< AnyAsset > sceneAsset) |
|
static Scene * | GetSceneForEntityContextId (AzFramework::EntityContextId entityContextId) |
|
static Scene * | GetSceneForEntityId (AZ::EntityId entityId) |
| Gets the RPI::Scene for a given entityId.
|
|
template<typename FeatureProcessorType > |
static FeatureProcessorType * | GetFeatureProcessorForEntity (AZ::EntityId entityId) |
|
template<typename FeatureProcessorType > |
static FeatureProcessorType * | GetFeatureProcessorForEntityContextId (AzFramework::EntityContextId entityContextId) |
|