Castor3D 0.16.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, Texture const &brdf, SamplerObs sampler)
 Constructor.
 
C3D_API void update (QueueData const &queueData)
 Updates the environment maps.
 
C3D_API crg::SemaphoreWaitArray update (crg::SemaphoreWaitArray signalsToWait, ashes::Queue const &queue) const
 Updates the environment maps.
 
Texture const & getIrradianceTexture () const noexcept
 
Texture const & getPrefilteredEnvironmentTexture () const noexcept
 
Texture const & getPrefilteredEnvironmentSheenTexture () const noexcept
 
Texture const & getPrefilteredBrdfTexture () const noexcept
 
ashes::Sampler const & getIrradianceSampler () const noexcept
 
ashes::Sampler const & getPrefilteredEnvironmentSampler () const noexcept
 
ashes::Sampler const & getPrefilteredEnvironmentSheenSampler () const noexcept
 
ashes::Sampler const & getPrefilteredBrdfSampler () const noexcept
 
- Public Member Functions inherited from castor::OwnedBy< Scene >
Scene * getOwner () const
 

Additional Inherited Members

- Protected Member Functions inherited from castor::OwnedBy< Scene >
 OwnedBy (Scene &owner)
 Constructor.
 

Constructor & Destructor Documentation

◆ IblTextures()

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

Constructor.

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

Member Function Documentation

◆ getIrradianceSampler()

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

References castor3d::RadianceComputer::getSampler().

Here is the call graph for this function:

◆ getIrradianceTexture()

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

name Getters.

References castor3d::RadianceComputer::getResult().

Here is the call graph for this function:

◆ getPrefilteredBrdfSampler()

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

References CU_Require, and castor3d::Sampler::getSampler().

Here is the call graph for this function:

◆ getPrefilteredBrdfTexture()

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

◆ getPrefilteredEnvironmentSampler()

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

References castor3d::EnvironmentPrefilter::getSampler().

Here is the call graph for this function:

◆ getPrefilteredEnvironmentSheenSampler()

ashes::Sampler const & castor3d::IblTextures::getPrefilteredEnvironmentSheenSampler ( ) const
inlinenoexcept

References castor3d::EnvironmentPrefilter::getSampler().

Here is the call graph for this function:

◆ getPrefilteredEnvironmentSheenTexture()

Texture const & castor3d::IblTextures::getPrefilteredEnvironmentSheenTexture ( ) const
inlinenoexcept

References castor3d::EnvironmentPrefilter::getResult().

Here is the call graph for this function:

◆ getPrefilteredEnvironmentTexture()

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

References castor3d::EnvironmentPrefilter::getResult().

Here is the call graph for this function:

◆ update() [1/2]

C3D_API crg::SemaphoreWaitArray castor3d::IblTextures::update ( crg::SemaphoreWaitArray signalsToWait,
ashes::Queue const & queue ) const

Updates the environment maps.

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

◆ update() [2/2]

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

Updates the environment maps.

Parameters
[in]queueDataThe queue receiving the GPU commands.

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