X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=render.h;h=22c05726ddd0222a7b567e6b47c1c87ddea18540;hb=859178c6d4b2a9b9a95f8b01b113f589ce0f197f;hp=8310ca535bb166ad9f084aa81f9c7ae4a368b024;hpb=d171c9ad5de05c9ac8563fcf9f23760b93fb50f8;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/render.h b/render.h index 8310ca5..22c0572 100644 --- a/render.h +++ b/render.h @@ -34,7 +34,8 @@ static struct pipeline{ framebuffer *fb_main, *fb_water_reflection, *fb_water_beneath, - *fb_workshop_preview; + *fb_workshop_preview, + *fb_network_status; int ready; } gpipeline; @@ -191,6 +192,22 @@ framebuffers[] = .attachment = GL_DEPTH_STENCIL_ATTACHMENT } } + }, + { + "network_status_ui", + .link = &gpipeline.fb_network_status, + .resolution_div = 0, + .fixed_w = 128, .fixed_h = 48, + .attachments = + { + { + "colour", k_framebuffer_attachment_type_texture, + .internalformat = GL_RGB, + .format = GL_RGB, + .type = GL_UNSIGNED_BYTE, + .attachment = GL_COLOR_ATTACHMENT0 + } + } } };