{"id":20984370,"url":"https://github.com/hellokenlee/neneengine","last_synced_at":"2025-06-30T21:07:22.806Z","repository":{"id":82434289,"uuid":"71144136","full_name":"hellokenlee/NeneEngine","owner":"hellokenlee","description":"Neta from \u003cNEW GAME!\u003e Sakura Nene's game engine.","archived":false,"fork":false,"pushed_at":"2022-03-09T15:34:28.000Z","size":107675,"stargazers_count":24,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-30T21:07:19.577Z","etag":null,"topics":["direct3d","engine3d","graphics","opengl"],"latest_commit_sha":null,"homepage":"http://newgame-anime.com/","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/hellokenlee.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-10-17T13:57:07.000Z","updated_at":"2023-03-06T08:58:10.000Z","dependencies_parsed_at":"2023-06-15T16:15:10.852Z","dependency_job_id":null,"html_url":"https://github.com/hellokenlee/NeneEngine","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hellokenlee/NeneEngine","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hellokenlee%2FNeneEngine","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hellokenlee%2FNeneEngine/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hellokenlee%2FNeneEngine/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hellokenlee%2FNeneEngine/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hellokenlee","download_url":"https://codeload.github.com/hellokenlee/NeneEngine/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hellokenlee%2FNeneEngine/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262850263,"owners_count":23374355,"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":["direct3d","engine3d","graphics","opengl"],"created_at":"2024-11-19T05:53:19.783Z","updated_at":"2025-06-30T21:07:22.797Z","avatar_url":"https://github.com/hellokenlee.png","language":"C++","readme":"## Nene Engine\n\n#### 我们的游戏引擎　(•̀ᴗ•́)و\n\n- 跨平台渲染 API 抽象层\n- 支持 Direct 3D 11 和 OpenGL 4.2+\n- 通过面向对象的方法高效创建三维场景\n\n_ _ _\n\n**仅需要20行的代码就能构建一个简单的三维场景！**\n\n简单例子：\n\n![](README.png)\n\n对应代码：\n\n```cpp\nint main() {\n\t// 初始化\n\tUtils::init(\"Sample1\", 800, 600);\n\t// 背景色\n\tUtils::clearColor(0.1f, 0.1f, 0.1f);\n\t// 着色器\n#ifdef NENE_DX\n\tauto pShader = Shader::create(\"Resources/Shaders/HLSL/Texture.hlsl\", \"Resources/Shaders/HLSL/Texture.hlsl\", POSITION_NORMAL_TEXTURE);\n#elif NENE_GL\n\tauto pShader = Shader::create(\"Resources/Shaders/GLSL/Texture.vert\", \"Resources/Shaders/GLSL/Texture.frag\", POSITION_NORMAL_TEXTURE);\n#endif\n\t// 摄像机控制\n\tCameraController cc;\n\t// 可绘制对象\n\tauto pShape = Geometry::createCube();\n\t// 主循环\n\twhile (!Utils::windowShouldClose()) {\n\t\t// 处理 IO\n\t\tUtils::pollEvents();\n\t\t// 更新摄像机\n\t\tcc.update();\n\t\t// 清空颜色和深度缓冲\n\t\tUtils::clear();\n\t\t// 绘制\n\t\tpShape-\u003edraw(pShader, cc.getCamera());\n\t\t// 交换缓冲\n\t\tUtils::swapBuffers();\n\t}\n\t// 释放资源\n\tUtils::terminate();\n\t//\n\treturn 0;\n}\n\n```\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhellokenlee%2Fneneengine","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhellokenlee%2Fneneengine","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhellokenlee%2Fneneengine/lists"}