From 119c2bfaf699e460d76a4ee08014023c3c7fe7d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Branimir=20Karad=C5=BEi=C4=87?= Date: Fri, 14 Sep 2018 21:27:18 -0700 Subject: [PATCH] Cleanup. --- include/bgfx/bgfx.h | 14 ++++++++++++++ include/bgfx/defines.h | 2 +- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/include/bgfx/bgfx.h b/include/bgfx/bgfx.h index d6aa3d1be..d7a4a304e 100644 --- a/include/bgfx/bgfx.h +++ b/include/bgfx/bgfx.h @@ -1303,6 +1303,13 @@ namespace bgfx , uint32_t _num ); + /// Set number of instances for auto generated instances use in conjuction + /// with gl_InstanceID. + /// + /// @param[in] _numInstances Number of instances. + /// + /// @attention Availability depends on: `BGFX_CAPS_VERTEX_ID`. + /// @attention C99 equivalent is `bgfx_set_instance_count`. /// void setInstanceCount(uint32_t _numInstances); @@ -3636,6 +3643,13 @@ namespace bgfx , uint32_t _num ); + /// Set number of instances for auto generated instances use in conjuction + /// with gl_InstanceID. + /// + /// @param[in] _numInstances Number of instances. + /// + /// @attention Availability depends on: `BGFX_CAPS_VERTEX_ID`. + /// @attention C99 equivalent is `bgfx_set_instance_count`. /// void setInstanceCount(uint32_t _numInstances); diff --git a/include/bgfx/defines.h b/include/bgfx/defines.h index 80fd25ac5..614b39007 100644 --- a/include/bgfx/defines.h +++ b/include/bgfx/defines.h @@ -6,7 +6,7 @@ #ifndef BGFX_DEFINES_H_HEADER_GUARD #define BGFX_DEFINES_H_HEADER_GUARD -#define BGFX_API_VERSION UINT32_C(82) +#define BGFX_API_VERSION UINT32_C(81) /// Color RGB/alpha/depth write. When it's not specified write will be disabled. #define BGFX_STATE_WRITE_R UINT64_C(0x0000000000000001) //!< Enable R write.