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

#include <GlslShadow.hpp>

Public Member Functions

C3D_API ShadowsBuffer (sdw::ShaderWriter &writer, uint32_t binding, uint32_t set, bool enable=true)
 
C3D_API DirectionalShadowData getDirectionalShadows () const
 
C3D_API PointShadowData getPointShadows (sdw::Int const &index) const
 
C3D_API SpotShadowData getSpotShadows (sdw::Int const &index) const
 

Constructor & Destructor Documentation

◆ ShadowsBuffer()

C3D_API castor3d::shader::ShadowsBuffer::ShadowsBuffer ( sdw::ShaderWriter & writer,
uint32_t binding,
uint32_t set,
bool enable = true )

Member Function Documentation

◆ getDirectionalShadows()

C3D_API DirectionalShadowData castor3d::shader::ShadowsBuffer::getDirectionalShadows ( ) const

◆ getPointShadows()

C3D_API PointShadowData castor3d::shader::ShadowsBuffer::getPointShadows ( sdw::Int const & index) const

◆ getSpotShadows()

C3D_API SpotShadowData castor3d::shader::ShadowsBuffer::getSpotShadows ( sdw::Int const & index) const

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