mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-19 21:42:59 +01:00
Cleanup.
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user