#include <EnvironmentMap.hpp>
|
| OwnedBy (Engine &owner) |
| Constructor.
|
|
◆ EnvironmentMapPasses
◆ EnvironmentMap()
Constructor.
- Parameters
-
[in] | resources | The resources handler. |
[in] | device | The GPU device. |
[in] | queueData | The queue receiving the initialisation commands. |
[in] | scene | The scene. |
◆ addNode()
Creates a reflection map for given node.
- Parameters
-
[in] | node | The scene node from which the reflection map is generated. |
◆ cleanup()
C3D_API void castor3d::EnvironmentMap::cleanup |
( |
| ) |
|
|
noexcept |
◆ getColourId()
Texture const & castor3d::EnvironmentMap::getColourId |
( |
| ) |
const |
|
inlinenoexcept |
◆ getColourView()
VkImageView castor3d::EnvironmentMap::getColourView |
( |
uint32_t | index | ) |
const |
|
inlinenoexcept |
◆ getColourViewId()
crg::ImageViewId castor3d::EnvironmentMap::getColourViewId |
( |
uint32_t | index, |
|
|
CubeMapFace | face ) const |
|
inlinenoexcept |
◆ getDepthViewId()
crg::ImageViewId castor3d::EnvironmentMap::getDepthViewId |
( |
uint32_t | index, |
|
|
CubeMapFace | face ) const |
|
inlinenoexcept |
◆ getIndex()
C3D_API uint32_t castor3d::EnvironmentMap::getIndex |
( |
SceneNode const & | node | ) |
const |
- Returns
- Retrieves the reflection map for given node.
- Parameters
-
◆ getScene()
Scene & castor3d::EnvironmentMap::getScene |
( |
| ) |
const |
|
inlinenoexcept |
◆ getSize()
VkExtent3D const & castor3d::EnvironmentMap::getSize |
( |
| ) |
const |
|
inlinenoexcept |
◆ getTmpImage()
crg::ImageViewId castor3d::EnvironmentMap::getTmpImage |
( |
uint32_t | index, |
|
|
CubeMapFace | face ) const |
|
inlinenoexcept |
◆ hasNode()
- Returns
- Tells if there is a reflection map for given node.
- Parameters
-
◆ removeNode()
Creates a reflection map for given node.
- Parameters
-
[in] | node | The scene node from which the reflection map is generated. |
◆ render()
C3D_API crg::SemaphoreWaitArray castor3d::EnvironmentMap::render |
( |
crg::SemaphoreWaitArray const & | toWait, |
|
|
ashes::Queue const & | queue ) |
Renders the environment map.
- Parameters
-
[in] | toWait | The semaphores to wait. |
[in] | queue | The queue receiving the render commands. |
- Returns
- The semaphores signaled by this render.
◆ update() [1/2]
Updates the render pass, CPU wise.
- Parameters
-
[in,out] | updater | The update data. |
◆ update() [2/2]
Updates the render pass, GPU wise.
- Parameters
-
[in,out] | updater | The update data. |
The documentation for this class was generated from the following file: