Added bgfx::AttribType::Int8/Uint16. (#3626)

This commit is contained in:
Branimir Karadžić
2026-03-08 23:13:51 -07:00
committed by GitHub
parent 608713739b
commit a73c12db8f
17 changed files with 142 additions and 42 deletions

View File

@@ -1,7 +1,7 @@
-- vim: syntax=lua
-- bgfx interface
version(141)
version(142)
typedef "bool"
typedef "char"
@@ -513,9 +513,11 @@ enum.Attrib { comment = "Corresponds to vertex shader attribute.", section = "Ve
--- Vertex attribute type enum.
enum.AttribType { comment = "Attribute types:", section = "Vertex Buffers" }
.Int8 --- Int8
.Uint8 --- Uint8
.Uint10 --- Uint10, availability depends on: `BGFX_CAPS_VERTEX_ATTRIB_UINT10`.
.Int16 --- Int16
.Uint16 --- Uint16
.Half --- Half, availability depends on: `BGFX_CAPS_VERTEX_ATTRIB_HALF`.
.Float --- Float
()