mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-19 13:32:59 +01:00
Fixed #2133.
This commit is contained in:
@@ -2276,6 +2276,14 @@ BGFX_C_API void bgfx_set_view_transform(bgfx_view_id_t _id, const void* _view, c
|
||||
*/
|
||||
BGFX_C_API void bgfx_set_view_order(bgfx_view_id_t _id, uint16_t _num, const bgfx_view_id_t* _order);
|
||||
|
||||
/**
|
||||
* Reset all view settings to default.
|
||||
*
|
||||
* @param[in] _id
|
||||
*
|
||||
*/
|
||||
BGFX_C_API void bgfx_reset_view(bgfx_view_id_t _id);
|
||||
|
||||
/**
|
||||
* Begin submitting draw calls from thread.
|
||||
*
|
||||
@@ -3361,6 +3369,7 @@ typedef enum bgfx_function_id
|
||||
BGFX_FUNCTION_ID_SET_VIEW_FRAME_BUFFER,
|
||||
BGFX_FUNCTION_ID_SET_VIEW_TRANSFORM,
|
||||
BGFX_FUNCTION_ID_SET_VIEW_ORDER,
|
||||
BGFX_FUNCTION_ID_RESET_VIEW,
|
||||
BGFX_FUNCTION_ID_ENCODER_BEGIN,
|
||||
BGFX_FUNCTION_ID_ENCODER_END,
|
||||
BGFX_FUNCTION_ID_ENCODER_SET_MARKER,
|
||||
@@ -3553,6 +3562,7 @@ struct bgfx_interface_vtbl
|
||||
void (*set_view_frame_buffer)(bgfx_view_id_t _id, bgfx_frame_buffer_handle_t _handle);
|
||||
void (*set_view_transform)(bgfx_view_id_t _id, const void* _view, const void* _proj);
|
||||
void (*set_view_order)(bgfx_view_id_t _id, uint16_t _num, const bgfx_view_id_t* _order);
|
||||
void (*reset_view)(bgfx_view_id_t _id);
|
||||
bgfx_encoder_t* (*encoder_begin)(bool _forThread);
|
||||
void (*encoder_end)(bgfx_encoder_t* _encoder);
|
||||
void (*encoder_set_marker)(bgfx_encoder_t* _this, const char* _marker);
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
#ifndef BGFX_DEFINES_H_HEADER_GUARD
|
||||
#define BGFX_DEFINES_H_HEADER_GUARD
|
||||
|
||||
#define BGFX_API_VERSION UINT32_C(105)
|
||||
#define BGFX_API_VERSION UINT32_C(106)
|
||||
|
||||
/**
|
||||
* Color RGB/alpha/depth write. When it's not specified write will be disabled.
|
||||
|
||||
Reference in New Issue
Block a user