Castor3D 0.12.0
Multiplatform 3D engine
Public Member Functions | List of all members
castor3d::IblTextures Class Reference

#include <IblTextures.hpp>

Inheritance diagram for castor3d::IblTextures:
Inheritance graph
[legend]
Collaboration diagram for castor3d::IblTextures:
Collaboration graph
[legend]

Public Member Functions

C3D_API IblTextures (Scene &scene, RenderDevice const &device, Texture const &source, SamplerResPtr sampler)
 Constructor. More...
 
C3D_API ~IblTextures ()
 
C3D_API void update (QueueData const &queueData)
 Updates the environment maps. More...
 
C3D_API ashes::Semaphore const & update (QueueData const &queueData, ashes::Semaphore const &toWait)
 Updates the environment maps. More...
 
Texture const & getIrradianceTexture () const
 
Texture const & getPrefilteredEnvironmentTexture () const
 
Texture const & getPrefilteredBrdfTexture () const
 
ashes::Sampler const & getIrradianceSampler () const
 
ashes::Sampler const & getPrefilteredEnvironmentSampler () const
 
ashes::Sampler const & getPrefilteredBrdfSampler () const
 

Constructor & Destructor Documentation

◆ IblTextures()

C3D_API castor3d::IblTextures::IblTextures ( Scene scene,
RenderDevice const &  device,
Texture const &  source,
SamplerResPtr  sampler 
)
explicit

Constructor.

Parameters
[in]sceneThe scene.
[in]deviceThe GPU device.
[in]sourceThe source environment map.
[in]samplerThe sampler used for the environment map.

◆ ~IblTextures()

C3D_API castor3d::IblTextures::~IblTextures ( )

Member Function Documentation

◆ getIrradianceSampler()

ashes::Sampler const & castor3d::IblTextures::getIrradianceSampler ( ) const
inline

References castor3d::RadianceComputer::getSampler().

Here is the call graph for this function:

◆ getIrradianceTexture()

Texture const & castor3d::IblTextures::getIrradianceTexture ( ) const
inline

name Getters.

References castor3d::RadianceComputer::getResult().

Here is the call graph for this function:

◆ getPrefilteredBrdfSampler()

ashes::Sampler const & castor3d::IblTextures::getPrefilteredBrdfSampler ( ) const
inline

◆ getPrefilteredBrdfTexture()

Texture const & castor3d::IblTextures::getPrefilteredBrdfTexture ( ) const
inline

◆ getPrefilteredEnvironmentSampler()

ashes::Sampler const & castor3d::IblTextures::getPrefilteredEnvironmentSampler ( ) const
inline

References castor3d::EnvironmentPrefilter::getSampler().

Here is the call graph for this function:

◆ getPrefilteredEnvironmentTexture()

Texture const & castor3d::IblTextures::getPrefilteredEnvironmentTexture ( ) const
inline

References castor3d::EnvironmentPrefilter::getResult().

Here is the call graph for this function:

◆ update() [1/2]

C3D_API void castor3d::IblTextures::update ( QueueData const &  queueData)

Updates the environment maps.

Parameters
[in]queueDataThe queue receiving the GPU commands.

◆ update() [2/2]

C3D_API ashes::Semaphore const & castor3d::IblTextures::update ( QueueData const &  queueData,
ashes::Semaphore const &  toWait 
)

Updates the environment maps.

Parameters
[in]queueDataThe queue receiving the GPU commands.
[in]toWaitThe semaphore from the previous render pass.
Returns
The semaphores signaled by this pass.

The documentation for this class was generated from the following file: