|
Hymn to Beauty
C++ 3D Engine
|
Information about the lights in a scene. More...
#include <ZBinning.hpp>
Public Attributes | |
| uint32_t | directionalLightCount |
| The number of directional lights. More... | |
| Buffer * | directionalLightBuffer |
| Buffer containing the directional light data. More... | |
| uint32_t | lightCount |
| The number of spot and point lights. More... | |
| Buffer * | lightBuffer |
| Buffer containing the spot and point light data. More... | |
| uint32_t | maskCount |
| The number of bitmasks per z-bin/tile. More... | |
| uint32_t | tileSize |
| The size of a tile in pixels. Tiles are always square. More... | |
| glm::uvec2 | tiles |
| The number of tiles in each dimension. More... | |
| Buffer * | tileMaskBuffer |
| Buffer containing light masks for the tiles. More... | |
| uint32_t | zBins |
| The number of z-bins. More... | |
| Buffer * | zMaskBuffer |
| Buffer containing light masks for the z bins. More... | |
| float | zNear |
| The near plane. More... | |
| float | zFar |
| The far plane. More... | |
Information about the lights in a scene.
| Buffer* Video::ZBinning::LightInfo::directionalLightBuffer |
Buffer containing the directional light data.
| uint32_t Video::ZBinning::LightInfo::directionalLightCount |
The number of directional lights.
| uint32_t Video::ZBinning::LightInfo::lightCount |
The number of spot and point lights.
| uint32_t Video::ZBinning::LightInfo::maskCount |
The number of bitmasks per z-bin/tile.
| glm::uvec2 Video::ZBinning::LightInfo::tiles |
The number of tiles in each dimension.
| uint32_t Video::ZBinning::LightInfo::tileSize |
The size of a tile in pixels. Tiles are always square.
| uint32_t Video::ZBinning::LightInfo::zBins |
The number of z-bins.
| float Video::ZBinning::LightInfo::zFar |
The far plane.
| float Video::ZBinning::LightInfo::zNear |
The near plane.