#include <EnvironmentMap.hpp>
◆ EnvironmentMapPasses
◆ EnvironmentMap()
Constructor.
- Parameters
-
[in] | handler | The render graph 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 |
( |
| ) |
|
◆ getColourId()
Texture const & castor3d::EnvironmentMap::getColourId |
( |
| ) |
const |
|
inline |
◆ getColourView()
VkImageView castor3d::EnvironmentMap::getColourView |
( |
uint32_t |
index | ) |
const |
|
inline |
◆ getColourViewId()
crg::ImageViewId castor3d::EnvironmentMap::getColourViewId |
( |
uint32_t |
index, |
|
|
CubeMapFace |
face |
|
) |
| const |
|
inline |
◆ getDepthViewId()
crg::ImageViewId castor3d::EnvironmentMap::getDepthViewId |
( |
uint32_t |
index, |
|
|
CubeMapFace |
face |
|
) |
| const |
|
inline |
◆ getIndex()
C3D_API uint32_t castor3d::EnvironmentMap::getIndex |
( |
SceneNode const & |
node | ) |
const |
- Returns
- Retrieves the reflection map for given node.
- Parameters
-
◆ getSize()
VkExtent3D const & castor3d::EnvironmentMap::getSize |
( |
| ) |
const |
|
inline |
◆ 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. |
◆ Count
C3D_API uint32_t const castor3d::EnvironmentMap::Count |
|
static |
◆ Size
C3D_API uint32_t const castor3d::EnvironmentMap::Size |
|
static |
The documentation for this class was generated from the following file: