{"id":15052186,"url":"https://github.com/somecho/rlfbo","last_synced_at":"2026-02-04T10:09:26.793Z","repository":{"id":252526687,"uuid":"840703627","full_name":"somecho/rlFbo","owner":"somecho","description":"A utility class for using multisampled framebuffers in Raylib.","archived":false,"fork":false,"pushed_at":"2024-08-11T16:15:31.000Z","size":52,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-27T15:06:56.321Z","etag":null,"topics":["game-development","glad","graphics-programming","opengl","raylib","raylib-cpp"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/somecho.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-10T12:32:23.000Z","updated_at":"2024-08-11T16:14:31.000Z","dependencies_parsed_at":"2024-08-10T13:57:01.135Z","dependency_job_id":"252a5ec2-34c5-4536-8c4d-e266f83dc7d7","html_url":"https://github.com/somecho/rlFbo","commit_stats":{"total_commits":4,"total_committers":1,"mean_commits":4.0,"dds":0.0,"last_synced_commit":"d5937b5eea0af71c5c597ba8a636028583b22771"},"previous_names":["somecho/rlfbo"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/somecho/rlFbo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/somecho%2FrlFbo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/somecho%2FrlFbo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/somecho%2FrlFbo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/somecho%2FrlFbo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/somecho","download_url":"https://codeload.github.com/somecho/rlFbo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/somecho%2FrlFbo/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262279128,"owners_count":23286550,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["game-development","glad","graphics-programming","opengl","raylib","raylib-cpp"],"created_at":"2024-09-24T21:37:14.464Z","updated_at":"2026-02-04T10:09:21.734Z","avatar_url":"https://github.com/somecho.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rlFbo\n\nA utility class for using multisampled framebuffers in [Raylib](https://github.com/raysan5/raylib).\n\nRaylib's default framebuffer objects `RenderTexture2D` are not multisampled by\ndefault. To use multisampled framebuffers in Raylib, you can use OpenGL APIs.\nThis class simplifies this step.\n\n## Installation\n\n### Manual Installation\n\nYou can directly copy `rlFbo/rlFbo.cpp` and `rlFbo/rlFbo.hpp` in to your project. Note that you will need `include/glad/glad.h` for raw OpenGL calls to work in Raylib, as the OpenGL context is initialized by `glad`. If you do not already have the header file, you can also copy it from this repo. \n\n### CMake\nClone the repo and install the library.\n\n```sh\ncmake -S . -B build -DCMAKE_INSTALL_PREFIX=/desired/install/path\ncmake --build build --target install\n```\n\nIn your `CMakeLists.txt`:\n\n```cmake\nfind_package(rlFbo)\ntarget_link_libraries(YOUR_PROJECT PRIVATE rlFbo)\n```\n\nAlternatively you can clone this repo to your project root and in your `CMakeLists.txt`:\n\n```cmake\nadd_subdirectory(rlFbo)\ntarget_link_libraries(YOUR_PROJECT PRIVATE rlFbo)\n```\n\n## Example Usage\n\nBelow is an example of how you can use `rlFbo`. For more information, please\nread the [header](rlFbo/rlFbo.hpp) file.\n\n```cpp\n#include \u003craylib.h\u003e\n#include \u003crlFbo/rlFbo.hpp\u003e\n\nvoid main(){\n    InitWindow(1280,720,\"rlFbo Demo\");\n    rlFbo myFbo(1280,720);\n    while(!WindowShouldClose()){\n        myFbo.begin();\n            ClearBackground(WHITE);\n            DrawCircle(640, 360, 300, RED);\n        myFbo.end();\n\n        myFbo.draw();\n\n        BeginDrawing(); // needed for event polling\n        EndDrawing();\n    }\n}\n```\n\n## TODO\n- [ ] [Match OpenGL internalformat to Raylib's PixelFormat.](https://github.com/somecho/rlFbo/issues/1)\n---\n\nMIT License, Copyright © 2024 Somē Cho\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsomecho%2Frlfbo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsomecho%2Frlfbo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsomecho%2Frlfbo/lists"}