{"id":23193723,"url":"https://github.com/matcool/gd-render-texture","last_synced_at":"2025-04-05T07:26:09.512Z","repository":{"id":267545898,"uuid":"899586051","full_name":"matcool/gd-render-texture","owner":"matcool","description":"custom render texture for gd, with an easy to use api","archived":false,"fork":false,"pushed_at":"2024-12-12T21:40:10.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-10T15:17:38.919Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/matcool.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-12-06T15:16:38.000Z","updated_at":"2024-12-12T21:40:14.000Z","dependencies_parsed_at":"2024-12-11T01:23:57.023Z","dependency_job_id":"636b255f-7e3d-4300-a4d2-5b5500b3d24b","html_url":"https://github.com/matcool/gd-render-texture","commit_stats":null,"previous_names":["matcool/gd-render-texture"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matcool%2Fgd-render-texture","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matcool%2Fgd-render-texture/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matcool%2Fgd-render-texture/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matcool%2Fgd-render-texture/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/matcool","download_url":"https://codeload.github.com/matcool/gd-render-texture/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247302352,"owners_count":20916684,"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":[],"created_at":"2024-12-18T13:12:12.155Z","updated_at":"2025-04-05T07:26:09.494Z","avatar_url":"https://github.com/matcool.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gd-render-texture\n\nCustom render texture class for GD, with an easy to use interface\n\n```cpp\n// can be reused and stored\nRenderTexture render(1920, 1080);\n\nstd::uniqure_ptr\u003cuint8_t[]\u003e data = render.captureData(scene /* format = RenderTexture::PixelFormat::RGBA */);\n\n// IMPORTANT: image data is currently upside down, so you'll have to flip it yourself :P\n//   this may change in a future version\n```\n\n## use as a sprite\n\n```cpp\nauto m_sprite = RenderTexture(1920, 1080).intoManagedSprite();\nthis-\u003eaddChild(m_sprite.sprite);\n\n// on update() {\nm_sprite.render.capture(this);\n// sprite node will now show the new capture\n\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatcool%2Fgd-render-texture","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmatcool%2Fgd-render-texture","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatcool%2Fgd-render-texture/lists"}