|
GREM 3.12.0
Game/Rendering Engine Modules for C++
|
Struct of shader parameters representing the tiles of the screen. More...
#include <GREM/graphics_3d/Renderer3D.hpp>
Public Attributes | |
| Array< u32vec4,(MAX_TILE_COUNT *2)/4 > | tileItemOffsetsAndCountsBy4s |
| Offsets and number of each item belonging to each tile in the item buffer, grouped into 4D vectors to improve packing in the std140 layout. | |
Static Public Attributes | |
| static constexpr size_t | MAX_TILE_COUNT = 1024 |
| Maximum number of on-screen tiles. | |
Struct of shader parameters representing the tiles of the screen.
|
staticconstexpr |
Maximum number of on-screen tiles.
| Array<u32vec4, (MAX_TILE_COUNT * 2) / 4> grem::graphics::Renderer3D::ScreenTileParameters::tileItemOffsetsAndCountsBy4s |
Offsets and number of each item belonging to each tile in the item buffer, grouped into 4D vectors to improve packing in the std140 layout.
The data is packed in the following layout per tile: