#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. |
[in] | isCharlie | true for Charlie distribution (for sheen), false for GGX. |
◆ ~EnvironmentPrefilter()
C3D_API castor3d::EnvironmentPrefilter::~EnvironmentPrefilter |
( |
| ) |
|
|
noexcept |
◆ getResult()
Texture const & castor3d::EnvironmentPrefilter::getResult |
( |
| ) |
const |
|
inlinenoexcept |
◆ getSampler()
ashes::Sampler const & castor3d::EnvironmentPrefilter::getSampler |
( |
| ) |
const |
|
inlinenoexcept |
◆ render() [1/2]
C3D_API crg::SemaphoreWaitArray castor3d::EnvironmentPrefilter::render |
( |
crg::SemaphoreWaitArray | signalsToWait, |
|
|
ashes::Queue const & | queue ) const |
Generates the mipmap levels.
- Parameters
-
[in] | queue | The queue receiving the render commands. |
[in] | signalsToWait | The semaphores from the previous render pass. |
- Returns
- The semaphores signaled by this render.
◆ render() [2/2]
C3D_API void castor3d::EnvironmentPrefilter::render |
( |
QueueData const & | queueData | ) |
const |
Generates the mipmap levels.
- Parameters
-
[in] | queueData | The queue receiving the GPU commands. |
The documentation for this class was generated from the following file: