/* * This software is licensed under the terms of the MIT License. * See COPYING for further information. * --- * Copyright (c) 2011-2019, Lukas Weber . * Copyright (c) 2012-2019, Andrei Alexeyev . */ #ifndef IGUARD_util_fbutil_h #define IGUARD_util_fbutil_h #include "taisei.h" #include "renderer/api.h" typedef struct FBAttachmentConfig { FramebufferAttachment attachment; TextureParams tex_params; } FBAttachmentConfig; void fbutil_create_attachments(Framebuffer *fb, uint num_attachments, FBAttachmentConfig attachments[num_attachments]); void fbutil_destroy_attachments(Framebuffer *fb); void fbutil_resize_attachment(Framebuffer *fb, FramebufferAttachment attachment, uint width, uint height); #endif // IGUARD_util_fbutil_h