Mercurial > games > semicongine
view src/semicongine/vulkan/vertex.nim @ 564:20837928dc63
add: finally working initial approach for shader definitions
author | Sam <sam@basx.dev> |
---|---|
date | Mon, 20 Mar 2023 10:25:50 +0700 |
parents | 4a9fc283c3af |
children | 4059aa0d689b |
line wrap: on
line source
import std/tables import std/macros import ../math import ./api # add pragma to fields of the VertexType that represent per instance attributes template PerInstance*() {.pragma.}