There are two types of ShaderBlocks that can be used:
Uniform blocks are read only in shaders, can sometimes be a bit faster than compute blocks, and have a limited size (but the limit will be at least 16KB, you can check
lovr.graphics.getLimits to check).
Compute blocks can be written to by compute shaders, might be slightly slower than uniform blocks, and have a much, much larger maximum size.
|uniform||A uniform block.|
|compute||A compute block.|