Castor3D 0.16.0
Multiplatform 3D engine
|
#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 |
C3D_API castor3d::shader::ShadowsBuffer::ShadowsBuffer | ( | sdw::ShaderWriter & | writer, |
uint32_t | binding, | ||
uint32_t | set, | ||
bool | enable = true ) |
C3D_API DirectionalShadowData castor3d::shader::ShadowsBuffer::getDirectionalShadows | ( | ) | const |
C3D_API PointShadowData castor3d::shader::ShadowsBuffer::getPointShadows | ( | sdw::Int const & | index | ) | const |
C3D_API SpotShadowData castor3d::shader::ShadowsBuffer::getSpotShadows | ( | sdw::Int const & | index | ) | const |