Skip to content

Commit

Permalink
feat(bgfx): update to API version 41
Browse files Browse the repository at this point in the history
  • Loading branch information
Spasi committed May 15, 2017
1 parent 73b84af commit 325499e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion doc/notes/3.1.2.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ This build includes the following changes:
- Added [OpenVR](https://github.com/ValveSoftware/openvr) bindings.
- Added [Tiny OpenEXR](https://github.com/syoyo/tinyexr) bindings.
- Added [Yoga](https://facebook.github.io/yoga/) bindings.
- bgfx: Updated to API version 40 (up from 34)
- bgfx: Updated to API version 41 (up from 34)
- glfw: Updated to pre-release 3.3.0 version (up from 3.2.1). Includes many fixes and new features:
* Last error code query (`glfwGetError`)
* Requesting attention from the user (`glfwRequestWindowAttention`)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ val BGFX = "BGFX".nativeClass(packageName = BGFX_PACKAGE, prefix = "BGFX", prefi
IntConstant(
"API version",

"API_VERSION".."40"
"API_VERSION".."41"
)

ShortConstant(
Expand Down Expand Up @@ -1958,6 +1958,7 @@ val BGFX = "BGFX".nativeClass(packageName = BGFX_PACKAGE, prefix = "BGFX", prefi
"set_vertex_buffer",
"Sets vertex buffer for draw primitive.",

MapToInt..uint8_t.IN("_stream", "vertex stream"),
bgfx_vertex_buffer_handle_t.IN("_handle", "vertex buffer"),
uint32_t.IN("_startVertex", "first vertex to render"),
uint32_t.IN("_numVertices", "number of vertices to render")
Expand All @@ -1967,6 +1968,7 @@ val BGFX = "BGFX".nativeClass(packageName = BGFX_PACKAGE, prefix = "BGFX", prefi
"set_dynamic_vertex_buffer",
"Sets vertex buffer for draw primitive.",

MapToInt..uint8_t.IN("_stream", "vertex stream"),
bgfx_dynamic_vertex_buffer_handle_t.IN("_handle", "dynamic vertex buffer"),
uint32_t.IN("_startVertex", "first vertex to render"),
uint32_t.IN("_numVertices", "number of vertices to render")
Expand All @@ -1976,6 +1978,7 @@ val BGFX = "BGFX".nativeClass(packageName = BGFX_PACKAGE, prefix = "BGFX", prefi
"set_transient_vertex_buffer",
"Sets vertex buffer for draw primitive.",

MapToInt..uint8_t.IN("_stream", "vertex stream"),
const..bgfx_transient_vertex_buffer_t_p.IN("_tvb", "transient vertex buffer"),
uint32_t.IN("_startVertex", "first vertex to render"),
uint32_t.IN("_numVertices", "number of vertices to render")
Expand Down

0 comments on commit 325499e

Please sign in to comment.