{"id":25693416,"url":"https://github.com/visualgmq/sdl3_gpu_example","last_synced_at":"2026-01-28T06:36:28.111Z","repository":{"id":279080391,"uuid":"934214549","full_name":"VisualGMQ/SDL3_gpu_example","owner":"VisualGMQ","description":"examples of SDL3 GPU API","archived":false,"fork":false,"pushed_at":"2025-02-23T16:08:02.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-23T17:23:07.517Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"CMake","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/VisualGMQ.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":"2025-02-17T13:14:07.000Z","updated_at":"2025-02-23T16:08:05.000Z","dependencies_parsed_at":"2025-02-23T17:23:09.171Z","dependency_job_id":"b6d70f60-66bf-4451-9355-1f03c76247d0","html_url":"https://github.com/VisualGMQ/SDL3_gpu_example","commit_stats":null,"previous_names":["visualgmq/sdl3_gpu_example"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VisualGMQ%2FSDL3_gpu_example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VisualGMQ%2FSDL3_gpu_example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VisualGMQ%2FSDL3_gpu_example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VisualGMQ%2FSDL3_gpu_example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/VisualGMQ","download_url":"https://codeload.github.com/VisualGMQ/SDL3_gpu_example/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240576482,"owners_count":19823291,"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":"2025-02-24T23:35:34.698Z","updated_at":"2026-01-28T06:36:28.062Z","avatar_url":"https://github.com/VisualGMQ.png","language":"CMake","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SDL3 GPU 例子\n\nSDL3 GPU API相关的例子\n\n所有的例子都在`examples`下。\n\n## 要求的工具\n\n* [glslc](https://github.com/google/shaderc)：用于编译glsl着色器。可从源码编译或者自行安装。\n\n如果不想安装glslc到环境变量PATH下，也可以在cmake-gui中指定GLSLC路径（变量名`GLSLC_PROG`），如：\n\n```bash\ncmake -S . -B cmake-build -DGLSLC_PROG=\"C:/VulkanSDK/1.3.296.0/Bin/glslc.exe\"\n```\n\n## 编译\n\n首先使用git submodule拉取SDL3源码：\n\n```bash\ngit submodule update --init --recursive --depth=1\n```\n\n然后使用cmake进行编译：\n\n```bash\ncmake --preset=default\ncmake --build cmake-build\n```\n\n**所有程序均在根目录（就是本文件所在目录）下运行，否则会找不到渲染资产！**","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvisualgmq%2Fsdl3_gpu_example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvisualgmq%2Fsdl3_gpu_example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvisualgmq%2Fsdl3_gpu_example/lists"}