#include <GlslLight.hpp>
|
C3D_API | LightsBuffer (sdw::ShaderWriter &writer, uint32_t binding, uint32_t set, bool enable=true) |
|
C3D_API DirectionalLight | getDirectionalLight (sdw::UInt const &offset) |
|
C3D_API PointLight | getPointLight (sdw::UInt const &offset) |
|
C3D_API SpotLight | getSpotLight (sdw::UInt const &offset) |
|
sdw::UInt | getDirectionalsEnd () const |
|
sdw::UInt | getPointsEnd () const |
|
sdw::UInt | getSpotsEnd () const |
|
sdw::UInt | getClusteredGridScale () const |
|
| BufferT (sdw::ShaderWriter &writer, castor::MbString blockName, castor::MbString variableName, uint32_t binding, uint32_t set, bool enabled=true, ParamsT &&... params) |
|
BufferData | getData (sdw::UInt const &index, ParamsT &&... params) const |
|
| BufferBase (sdw::ShaderWriter &writer, castor::MbString blockName, castor::MbString variableName, uint32_t binding, uint32_t set, bool enabled=true) |
|
sdw::UInt | getFirstCount () const |
|
sdw::UInt | getSecondCount () const |
|
sdw::UInt | getThirdCount () const |
|
sdw::UInt | getFourthCount () const |
|
sdw::UInt | getCount () const |
|
bool | isEnabled () const noexcept |
|
sdw::ShaderWriter * | getWriter () const noexcept |
|
◆ LightsBuffer()
C3D_API castor3d::shader::LightsBuffer::LightsBuffer |
( |
sdw::ShaderWriter & | writer, |
|
|
uint32_t | binding, |
|
|
uint32_t | set, |
|
|
bool | enable = true ) |
◆ getClusteredGridScale()
sdw::UInt castor3d::shader::LightsBuffer::getClusteredGridScale |
( |
| ) |
const |
|
inline |
◆ getDirectionalLight()
◆ getDirectionalsEnd()
sdw::UInt castor3d::shader::LightsBuffer::getDirectionalsEnd |
( |
| ) |
const |
|
inline |
◆ getPointLight()
C3D_API PointLight castor3d::shader::LightsBuffer::getPointLight |
( |
sdw::UInt const & | offset | ) |
|
◆ getPointsEnd()
sdw::UInt castor3d::shader::LightsBuffer::getPointsEnd |
( |
| ) |
const |
|
inline |
◆ getSpotLight()
C3D_API SpotLight castor3d::shader::LightsBuffer::getSpotLight |
( |
sdw::UInt const & | offset | ) |
|
◆ getSpotsEnd()
sdw::UInt castor3d::shader::LightsBuffer::getSpotsEnd |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following file: