|
Estella 0.113.0
A fast 2D and 3D game engine powered by WebAssembly and ECS
|
Where one draw's entry is: a texel of the record texture. More...
#include <InstanceConstants.hpp>
Public Attributes | |
| u32 | entry = 0 |
| u32 | pad [3] {} |
Where one draw's entry is: a texel of the record texture.
Definition at line 45 of file InstanceConstants.hpp.
| u32 esengine::InstanceConstants::entry = 0 |
Definition at line 46 of file InstanceConstants.hpp.
| u32 esengine::InstanceConstants::pad[3] {} |
std140 rounds a block up to a vec4 anyway; naming the rest keeps the C++ size equal to what the shader's block occupies rather than nearly equal.
Definition at line 49 of file InstanceConstants.hpp.