#hellotriangle — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #hellotriangle, aggregated by home.social.
-
#TIL that you can trigger frame captures on #metal :metal: programmatically, without needing to run your program through #Xcode
Here's a frame capture of my Metal-cpp #HelloTriangle, taken from within itself!
-
#TIL that you can trigger frame captures on #metal :metal: programmatically, without needing to run your program through #Xcode
Here's a frame capture of my Metal-cpp #HelloTriangle, taken from within itself!
-
:mac: 🤘🏻🔻
#Metal :metal: + #glfw with #cpp code only.
Had to avoid #objc because my custom build system can't deal with that yet (and I didn't feel like changing that).What a pain to get it to compile.
BUT
It's using the exact same shader as my #Vulkan :vulkan: #HelloTriangle thanks to #Slang ❤️
AND
```
$ wc -l src/main.cpp src/shaders/hello_triangle.slang
134 src/main.cpp
40 src/shaders/hello_triangle.slang
164 total
``` -
:mac: 🤘🏻🔻
#Metal :metal: + #glfw with #cpp code only.
Had to avoid #objc because my custom build system can't deal with that yet (and I didn't feel like changing that).What a pain to get it to compile.
BUT
It's using the exact same shader as my #Vulkan :vulkan: #HelloTriangle thanks to #Slang ❤️
AND
```
$ wc -l src/main.cpp src/shaders/hello_triangle.slang
134 src/main.cpp
40 src/shaders/hello_triangle.slang
164 total
``` -
@avimanyuroy Okay, best response to this definitely goes to @tojiro who put together a nice, tidy, straightforward, and helpfully commented Hello Triangle demo:
https://github.com/toji/hello-triangle-webgpu/blob/main/index.htmlReady for you to enjoy in the new Chrome Beta here:
https://toji.github.io/hello-triangle-webgpu/ -
@avimanyuroy Okay, best response to this definitely goes to @tojiro who put together a nice, tidy, straightforward, and helpfully commented Hello Triangle demo:
https://github.com/toji/hello-triangle-webgpu/blob/main/index.htmlReady for you to enjoy in the new Chrome Beta here:
https://toji.github.io/hello-triangle-webgpu/ -
@avimanyuroy Okay, best response to this definitely goes to @tojiro who put together a nice, tidy, straightforward, and helpfully commented Hello Triangle demo:
https://github.com/toji/hello-triangle-webgpu/blob/main/index.htmlReady for you to enjoy in the new Chrome Beta here:
https://toji.github.io/hello-triangle-webgpu/ -
@avimanyuroy Okay, best response to this definitely goes to @tojiro who put together a nice, tidy, straightforward, and helpfully commented Hello Triangle demo:
https://github.com/toji/hello-triangle-webgpu/blob/main/index.htmlReady for you to enjoy in the new Chrome Beta here:
https://toji.github.io/hello-triangle-webgpu/ -
@avimanyuroy Okay, best response to this definitely goes to @tojiro who put together a nice, tidy, straightforward, and helpfully commented Hello Triangle demo:
https://github.com/toji/hello-triangle-webgpu/blob/main/index.htmlReady for you to enjoy in the new Chrome Beta here:
https://toji.github.io/hello-triangle-webgpu/