{"id":21083720,"url":"https://github.com/tgfrerer/ofxtextureserver","last_synced_at":"2025-03-14T05:10:07.763Z","repository":{"id":4206933,"uuid":"5327078","full_name":"tgfrerer/ofxTextureServer","owner":"tgfrerer","description":"Memory management for collections of ofTextures","archived":false,"fork":false,"pushed_at":"2012-08-07T12:39:05.000Z","size":184,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-01-20T23:48:34.924Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://poniesandlight.co.uk/code/ofxTextureServer/","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tgfrerer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-08-07T11:34:12.000Z","updated_at":"2022-09-25T19:12:40.000Z","dependencies_parsed_at":"2022-09-09T05:31:46.106Z","dependency_job_id":null,"html_url":"https://github.com/tgfrerer/ofxTextureServer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tgfrerer%2FofxTextureServer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tgfrerer%2FofxTextureServer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tgfrerer%2FofxTextureServer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tgfrerer%2FofxTextureServer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tgfrerer","download_url":"https://codeload.github.com/tgfrerer/ofxTextureServer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243526953,"owners_count":20305115,"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-11-19T20:19:38.255Z","updated_at":"2025-03-14T05:10:07.741Z","avatar_url":"https://github.com/tgfrerer.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cpre\u003e\n     _____    ___     \n    /    /   /  /     ofxTextureServer\n   /  __/ * /  /__    (c) ponies \u0026 light, 2012. \n  /__/     /_____/    poniesandlight.co.uk\n\n  ofxTextureServer\n  Created by Tim Gfrerer, 2012.\n  \n Permission is hereby granted, free of charge, to any person obtaining a copy\n of this software and associated documentation files (the \"Software\"), to deal\n in the Software without restriction, including without limitation the rights\n to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n copies of the Software, and to permit persons to whom the Software is\n furnished to do so, subject to the following conditions:\n \n The above copyright notice and this permission notice shall be included in\n all copies or substantial portions of the Software.\n \n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n THE SOFTWARE.\n\u003c/pre\u003e\n\n# ofxTextureServer\n\nA garbage-collected container and (pre)loader of ofTextures.\n\n## Motivation\n\nofxTextureServer helps you to keep track of ofTextures. It will keep your\nfootprint low if you plan to work with lots of ofTextures.\n\nofxTextureServer uses a map internally and keeps track of the use count of\nits textures.\n\nUseful to keep track of all your ofTextures, to preload whole directories of\nimages into ofTextures and access them instantly once your app is running, or\nto help you automate texture memory management.\n\nI use ofxTextureServer in a couple of projects that require a scene graph{, or\nthat use one central place where to get all textures from}. [The Pirate Cannon][nmm-pc] \nand [Project Runway](http://poniesandlight.co.uk/projects/project_runway/) were such projects.\n\nFor example, most pirate ships in [The Pirate Cannon][nmm-pc] use the same\nspritesheet to animate the sails. Each pirate ship object holds a reference to\nthe scene graph's global ofxTextureServer. Therefore all ships can share the\nsame texture and it is loaded from its original image file only once during\npreload.\n\n## Example\n\nSee included example project.\n\n### Reference Render\n\n![image](http://poniesandlight.co.uk/static/ofxTextureServerReference.png)\n\n## Dependencies\n\n♥ oF \u003e= 0071\n\n[nmm-pc]:\t\thttp://poniesandlight.co.uk/projects/nmm_cannon/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftgfrerer%2Fofxtextureserver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftgfrerer%2Fofxtextureserver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftgfrerer%2Fofxtextureserver/lists"}