#include <EnvironmentPrefilter.hpp>
◆ EnvironmentPrefilter()
Constructor.
- Parameters
-
[in] | engine | The engine. |
[in] | device | The GPU device. |
[in] | size | The render size. |
[in] | srcTexture | The cube texture source. |
[in] | sampler | The sampler used for the source texture. |
◆ ~EnvironmentPrefilter()
C3D_API castor3d::EnvironmentPrefilter::~EnvironmentPrefilter |
( |
| ) |
|
◆ getResult()
Texture const & castor3d::EnvironmentPrefilter::getResult |
( |
| ) |
const |
|
inline |
◆ getSampler()
ashes::Sampler const & castor3d::EnvironmentPrefilter::getSampler |
( |
| ) |
const |
|
inline |
◆ render() [1/2]
C3D_API void castor3d::EnvironmentPrefilter::render |
( |
QueueData const & |
queueData | ) |
|
Generates the mipmap levels.
- Parameters
-
[in] | queueData | The queue receiving the GPU commands. |
◆ render() [2/2]
C3D_API ashes::Semaphore const & castor3d::EnvironmentPrefilter::render |
( |
QueueData const & |
queueData, |
|
|
ashes::Semaphore const & |
toWait |
|
) |
| |
Generates the mipmap levels.
- Parameters
-
[in] | queueData | The queue receiving the render commands. |
[in] | toWait | The semaphore from the previous render pass. |
- Returns
- The semaphores signaled by this render.
◆ MaxIblReflectionLod
C3D_API uint32_t const castor3d::EnvironmentPrefilter::MaxIblReflectionLod |
|
static |
The documentation for this class was generated from the following file: