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

#include <ShadowMapSpot.hpp>

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

Public Member Functions

C3D_API ShadowMapSpot (crg::ResourcesCache &resources, RenderDevice const &device, Scene &scene, ProgressBar *progress)
 Constructor.
 
- Public Member Functions inherited from castor3d::ShadowMap
C3D_API ShadowMap (crg::ResourcesCache &resources, RenderDevice const &device, Scene &scene, LightType lightType, VkImageCreateFlags createFlags, castor::Size const &size, uint32_t layerCount, uint32_t count)
 Constructor.
 
virtual C3D_API ~ShadowMap () noexcept=default
 Destructor.
 
C3D_API void accept (ConfigurationVisitorBase &visitor)
 Visitor acceptance function.
 
C3D_API void update (CpuUpdater &updater)
 Updates the render pass, CPU wise.
 
C3D_API void update (GpuUpdater &updater)
 Updates the render pass, GPU wise.
 
C3D_API crg::SemaphoreWaitArray render (crg::SemaphoreWaitArray const &toWait, ashes::Queue const &queue, uint32_t index)
 Renders the shadow map.
 
C3D_API ashes::VkClearValueArray const & getClearValues () const
 
C3D_API ashes::Sampler const & getSampler (SmTexture texture, uint32_t index=0u) const
 
virtual C3D_API crg::ImageViewId getView (SmTexture texture, uint32_t index=0u) const
 
virtual C3D_API crg::ImageViewIdArray getViews (SmTexture texture, uint32_t index=0u) const
 
ShadowMapResult const & getShadowPassResult (bool isStatic) const noexcept
 
ShadowMapResultgetShadowPassResult (bool isStatic) noexcept
 
ScenegetScene () const noexcept
 
uint32_t getCount () const noexcept
 
- Public Member Functions inherited from castor::OwnedBy< Engine >
Engine * getOwner () const
 

Additional Inherited Members

- Public Types inherited from castor3d::ShadowMap
using PassDataPtr = castor::RawUniquePtr< PassData >
 
- Protected Member Functions inherited from castor3d::ShadowMap
C3D_API void doRegisterGraphIO (crg::FramePassGroup &graph, bool vsm, bool rsm, bool isStatic) const
 
C3D_API bool doEnableCopyStatic (uint32_t index) const
 
C3D_API bool doEnableBlur (uint32_t index) const
 
- Protected Member Functions inherited from castor::OwnedBy< Engine >
 OwnedBy (Engine &owner)
 Constructor.
 
- Protected Attributes inherited from castor3d::ShadowMap
RenderDevice const & m_device
 
crg::ResourcesCache & m_resources
 
Scenem_scene
 
castor::String m_name
 
LightType m_lightType
 
ShadowMapResult m_staticsResult
 
ShadowMapResult m_result
 
uint32_t m_count
 
castor::Array< AllPasses, 4u > m_passes
 
uint32_t m_passesIndex {}
 

Constructor & Destructor Documentation

◆ ShadowMapSpot()

C3D_API castor3d::ShadowMapSpot::ShadowMapSpot ( crg::ResourcesCache & resources,
RenderDevice const & device,
Scene & scene,
ProgressBar * progress )
explicit

Constructor.

Parameters
[in]resourcesThe render graph resources handler.
[in]deviceThe GPU device.
[in]sceneThe scene.
[in]progressThe optional progress bar.

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