From 5063f47007a5b2c6d35334030f99bb24c4d23d13 Mon Sep 17 00:00:00 2001 From: ShalokShalom Date: Tue, 26 Aug 2025 09:15:11 +0200 Subject: [PATCH] Add wgpu to docs You probably want to add information and examples, like with all the other APIs. (I am not skilled enough, to add any of this) Also, I found that SDL3 is not mentioned here, and I didn't update this in the PR, as I am uncertain whatever or not ypu still want to mention SDL2. https://github.com/odin-lang/odin-lang.org/blob/master/themes/odin/layouts/index.html#L289 --- content/news/major-graphics-apis.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/news/major-graphics-apis.md b/content/news/major-graphics-apis.md index dc7560c1..a2f9d91c 100644 --- a/content/news/major-graphics-apis.md +++ b/content/news/major-graphics-apis.md @@ -10,7 +10,7 @@ categories: - apis --- -Odin now officially supports both the [Metal](https://developer.apple.com/metal/) API and [Direct3D](https://docs.microsoft.com/en-us/windows/win32/direct3d) 11 & 12 out-of-the box! This makes Odin currently the only language that officially supports all of the major graphics APIs: [OpenGL](https://pkg.odin-lang.org/vendor/OpenGL/), [Vulkan](https://pkg.odin-lang.org/vendor/vulkan/), [Direct3D11](https://pkg.odin-lang.org/vendor/directx/d3d11/), [Direct3D12](https://pkg.odin-lang.org/vendor/directx/d3d12/), [Metal](https://pkg.odin-lang.org/vendor/darwin/Metal/), and [WebGL 1 & 2](https://github.com/odin-lang/Odin/tree/master/vendor/wasm/WebGL). +Odin now officially supports both the [Metal](https://developer.apple.com/metal/) API and [Direct3D](https://docs.microsoft.com/en-us/windows/win32/direct3d) 11 & 12 out-of-the box! This makes Odin currently the only language that officially supports all of the major graphics APIs: [OpenGL](https://pkg.odin-lang.org/vendor/OpenGL/), [Vulkan](https://pkg.odin-lang.org/vendor/vulkan/), [Direct3D11](https://pkg.odin-lang.org/vendor/directx/d3d11/), [Direct3D12](https://pkg.odin-lang.org/vendor/directx/d3d12/), [Metal](https://pkg.odin-lang.org/vendor/darwin/Metal/), [wgpu](https://pkg.odin-lang.org/vendor/wgpu) and [WebGL 1 & 2](https://github.com/odin-lang/Odin/tree/master/vendor/wasm/WebGL). ## Metal @@ -117,4 +117,4 @@ device->CreateSamplerState(&sampler_desc, &sampler_state) ``` - \ No newline at end of file +