mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
14 lines
220 B
Plaintext
14 lines
220 B
Plaintext
|
|
struct SQuadUniformEl {
|
|
vec4 gVertColor;
|
|
vec2 gOffset;
|
|
float gRotation;
|
|
};
|
|
|
|
#define TW_MAX_QUADS 256
|
|
|
|
layout (std140, set = 2, binding = 2) uniform SOffBO {
|
|
uniform SQuadUniformEl gUniEls[TW_MAX_QUADS];
|
|
} gQuadBO;
|
|
|