Get the latest tech news

I learned Vulkan and wrote a small game engine with it


The personal website of Elias Daler about programming, technology and videogames

Compared to “std430” layout, it makes alignment a lot more easy to handle - it almost works the same as in C++ and greatly reduces the need for “padding” members in C++ structs. b) The child (yellow) has origin (1, 1), fixed size (w,h) and absolute offset of (x,y) - this way, the item can be positioned relative to the bottom-right corner of its parent (green) There’s no need for that in Vulkan - it’s easy to write functions which take some objects as an input and produce some output - stateless, more explicit and easier to reason about.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of months

months

Photo of vulkan

vulkan

Photo of small game engine

small game engine

Related news:

News photo

The Last of Us Part 2 reportedly PC ready, and has been for months

News photo

Spotify Raises Prices for Second Time in 12 Months, Now More Expensive Than Apple Music

News photo

Swiss startup Neural Concept raises $27M to cut EV design time to 18 months