Files
voxel-game/assets/shaders/includes/gui_box_common.glsl
2026-05-13 05:40:31 +02:00

15 lines
271 B
GLSL

struct Box {
vec4 backgroundColor;
vec4 borderColor;
vec2 positionSSPX;
vec2 sizePX;
float borderWidthPX;
float borderRadiusPX;
};
#include "global_uniforms.glsl"
layout(set = 0, binding = 1, scalar) readonly buffer Boxes {
Box _Boxes[];
};