{"id":32382345,"url":"https://github.com/xtuzy/veldrid.maui.controls","last_synced_at":"2025-10-25T01:47:07.154Z","repository":{"id":196132674,"uuid":"694622512","full_name":"xtuzy/Veldrid.Maui.Controls","owner":"xtuzy","description":"use Gpu by Veldrid in MAUI","archived":false,"fork":false,"pushed_at":"2024-06-25T08:19:58.000Z","size":2504,"stargazers_count":6,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-08-13T05:22:12.254Z","etag":null,"topics":["3d","csharp","gpu","maui"],"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/xtuzy.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":"2023-09-21T11:15:09.000Z","updated_at":"2024-11-11T01:26:12.000Z","dependencies_parsed_at":"2023-09-21T13:43:48.222Z","dependency_job_id":"43783a24-795f-4a35-93a5-9512eef79755","html_url":"https://github.com/xtuzy/Veldrid.Maui.Controls","commit_stats":null,"previous_names":["xtuzy/veldrid.maui.controls"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/xtuzy/Veldrid.Maui.Controls","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xtuzy%2FVeldrid.Maui.Controls","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xtuzy%2FVeldrid.Maui.Controls/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xtuzy%2FVeldrid.Maui.Controls/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xtuzy%2FVeldrid.Maui.Controls/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xtuzy","download_url":"https://codeload.github.com/xtuzy/Veldrid.Maui.Controls/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xtuzy%2FVeldrid.Maui.Controls/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280893649,"owners_count":26409279,"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","status":"online","status_checked_at":"2025-10-24T02:00:06.418Z","response_time":73,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["3d","csharp","gpu","maui"],"created_at":"2025-10-25T01:46:53.098Z","updated_at":"2025-10-25T01:47:07.146Z","avatar_url":"https://github.com/xtuzy.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Veldrid.Maui.Controls\n[![NuGet version(Yang.MAUICollectionView)](https://img.shields.io/nuget/v/Veldrid.Maui.Controls?label=Veldrid.Maui.Controls)](https://www.nuget.org/packages/Veldrid.Maui.Controls)\n\nIt is extracted from [Veldrid.Samples](https://github.com/xtuzy/Veldrid.Samples)，this project focuses on optimizing controls\n## How to use\n### Install Veldrid.Maui.Controls\n### Install Veldrid Packages\ncurrent official veldrid packages have some bugs on maui, for temparery fix they, i push some packages to nuget.org, you can install they to your app project to override offical dll.\n- Base on [official/veldrid](https://github.com/veldrid/veldrid)\n    - [Yang.Veldrid.Maui.Android](https://www.nuget.org/packages/Yang.Veldrid.Maui.Android/) change see: [build_for_maui_android](https://github.com/xtuzy/veldrid.maui/tree/build_for_maui_android)\n    - [Yang.Veldrid.Maui.Windows](https://www.nuget.org/packages/Yang.Veldrid.Maui.Windows/) change see: [build_for_maui_windows](https://github.com/xtuzy/veldrid.maui/tree/build_for_maui_windows)\n- Base on [ppy/veldrid](https://github.com/ppy/veldrid) change see: [build_for_maui_ios](https://github.com/xtuzy/veldrid.maui/tree/build_for_maui_ios)\n    - [Yang.Veldrid.Maui.iOS](https://www.nuget.org/packages/Yang.Veldrid.Maui.iOS/), (also work on android and windows)\n\nIn order to replace official veldrid, you need to add these to .csproj (ExcludeAssets will delete officail dll):\n```\n\u003cItemGroup\u003e\n    \u003cPackageReference Include=\"Veldrid.SPIRV\" Version=\"1.0.15\" ExcludeAssets=\"All\"/\u003e\n    \u003cPackageReference Include=\"Veldrid.Maui.SPIRV\" Version=\"1.0.16.1\" /\u003e\n\n    \u003cPackageReference Include=\"Veldrid\" Version=\"4.9.0\" ExcludeAssets=\"All\"/\u003e\n    \u003cPackageReference Include=\"Yang.Veldrid.Maui.iOS\" Version=\"4.9.10-ga1b22d70a3\" /\u003e\n\u003c/ItemGroup\u003e\n```\n## Create view\n- Add `.UseVeldridView()` to your app.\n- create view\n\n  ```\n   var veldridView = new VeldridView();\n   veldridView.Backend = GraphicsBackend.OpenGLES;\n   veldridView.AutoReDraw = true;// will loop render\n   layout.Add(veldridView);\n  ```\n- create drawable\n\n see sample [HelloTriangle](https://github.com/xtuzy/Veldrid.Maui.Controls/blob/main/Veldrid.Maui.Controls.Samples.Core/LearnOpenGL/HelloTriangle.cs), you need learn how to use veldrid, see https://veldrid.dev/\n - set drawable to veldridView\n\n## Advice GraphicsBackend\n- iOS - Metal (don't test)\n- Windows - D3D11\n- Android - OpenGLES\n\n** Current veldrid don't have a nice memory manager for Vulkan backend, will waste many memeory, i don't advice you try it.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxtuzy%2Fveldrid.maui.controls","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxtuzy%2Fveldrid.maui.controls","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxtuzy%2Fveldrid.maui.controls/lists"}