|
| virtual void | SetCamera (Camera *camera) noexcept=0 |
| | Set the main Camera. More...
|
| |
| virtual auto | GetCamera () noexcept -> Camera *=0 |
| | Get the main Camera. More...
|
| |
| virtual void | SetUi (ui::IUI *ui) noexcept=0 |
| | Set a custom ui to receive draw callbacks during rendering. More...
|
| |
|
virtual bool | IsUiHovered () const noexcept=0 |
| | Returns if the ui is currently hovered by the mouse.
|
| |
| virtual auto | GetSkybox () const -> nc::asset::AssetId=0 |
| | Gets the current skybox. More...
|
| |
| virtual void | SetSkybox (const std::string &path)=0 |
| | Set the current skybox. More...
|
| |
| virtual void | ClearSkybox ()=0 |
| | Clears the active skybox. More...
|
| |
| virtual auto | GetEnvironment () const -> const Environment &=0 |
| | Gets the current environment properties. More...
|
| |
| virtual void | SetEnvironment (const Environment &environment)=0 |
| | Set the current environment properties. More...
|
| |
| virtual void | ClearEnvironment ()=0 |
| | Clears all environment data. More...
|
| |
|
virtual auto | IsPostProcessEffectEnabled (PostProcessEffectId effectId) const -> bool=0 |
| | Returns if a post process effect is enabled.
|
| |
|
virtual void | SetPostProcessEffectEnabled (PostProcessEffectId effectId, bool enabled)=0 |
| | Enabled or disable a post process effect.
|
| |
|
virtual auto | GetPostProcessEffectProperties (PostProcessEffectId effectId, PostProcessPassFlag::type pass) const -> const PostProcessPassProperties &=0 |
| | Get the pass properties for a post process effect.
|
| |
|
virtual void | SetPostProcessEffectProperties (PostProcessEffectId effectId, PostProcessPassFlag::type pass, const PostProcessPassProperties &properties)=0 |
| | Set the pass properties for a post process effect.
|
| |
|
virtual auto | GetTextureView (TextureViewType type, uint32_t index) -> void *=0 |
| | Get the handle to the texture view at the given index and the given type.
|
| |
| | Module (size_t id=0) noexcept |
| | Constructor for the Module interface. More...
|
| |
|
auto | Id () const noexcept |
| | Get the module's unique id.
|
| |
|
virtual void | OnBuildTaskGraph (task::UpdateTasks &, task::RenderTasks &) |
| | Called on registered modules when the task graphs are constructed.
|
| |
| virtual void | OnBeforeSceneLoad (const Scene &) |
| | Called on registered modules prior to loading a new scene. More...
|
| |
|
virtual void | OnBeforeSceneFragmentLoad () |
| | Called on registered modules immediately before loading a SceneFragment file.
|
| |
|
virtual void | OnAfterSceneFragmentLoad () |
| | Called on registered modules immediately after loading a SceneFragment file.
|
| |
|
virtual void | Clear () noexcept |
| | Called on registered modules prior to clearing the Registry. This includes Scene::Unload() and NcEngine::Shutdown().
|
| |
Graphics module interface.
Update Tasks DebugRendererNewFrame (only in dev builds) Depends On: None Component Access: WireframeRenderer ParticleEmitterUpdate Depends On: CommitStagedChanges Component Access: Read: ParticleEmitter, Transform
Render Tasks Render Depends On: None Component Access: Write: Camera, WireframeRenderer Read: StaticMesh, SkinnedMesh, DirectionalLight, PointLight, SpotLight, Transform