mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-06-08 03:13:52 +00:00
Added bgfx::AttribType::Int8/Uint16. (#3626)
This commit is contained in:
committed by
GitHub
parent
608713739b
commit
a73c12db8f
@@ -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
|
||||
()
|
||||
|
||||
Reference in New Issue
Block a user