Removed non-existing C++ overloads from IDL.
This commit is contained in:
parent
02e67ff404
commit
6c8700d70c
@ -3870,7 +3870,7 @@ public static class bgfx
|
||||
///
|
||||
/// <param name="_handle">Vertex buffer.</param>
|
||||
/// <param name="_startVertex">First instance data.</param>
|
||||
/// <param name="_num">Number of data instances. Set instance data buffer for draw primitive.</param>
|
||||
/// <param name="_num">Number of data instances.</param>
|
||||
///
|
||||
[LinkName("bgfx_encoder_set_instance_data_from_vertex_buffer")]
|
||||
public static extern void encoder_set_instance_data_from_vertex_buffer(Encoder* _this, VertexBufferHandle _handle, uint32 _startVertex, uint32 _num);
|
||||
@ -4448,7 +4448,7 @@ public static class bgfx
|
||||
///
|
||||
/// <param name="_handle">Vertex buffer.</param>
|
||||
/// <param name="_startVertex">First instance data.</param>
|
||||
/// <param name="_num">Number of data instances. Set instance data buffer for draw primitive.</param>
|
||||
/// <param name="_num">Number of data instances.</param>
|
||||
///
|
||||
[LinkName("bgfx_set_instance_data_from_vertex_buffer")]
|
||||
public static extern void set_instance_data_from_vertex_buffer(VertexBufferHandle _handle, uint32 _startVertex, uint32 _num);
|
||||
|
@ -3827,7 +3827,7 @@ public static partial class bgfx
|
||||
///
|
||||
/// <param name="_handle">Vertex buffer.</param>
|
||||
/// <param name="_startVertex">First instance data.</param>
|
||||
/// <param name="_num">Number of data instances. Set instance data buffer for draw primitive.</param>
|
||||
/// <param name="_num">Number of data instances.</param>
|
||||
///
|
||||
[DllImport(DllName, EntryPoint="bgfx_encoder_set_instance_data_from_vertex_buffer", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern unsafe void encoder_set_instance_data_from_vertex_buffer(Encoder* _this, VertexBufferHandle _handle, uint _startVertex, uint _num);
|
||||
@ -4405,7 +4405,7 @@ public static partial class bgfx
|
||||
///
|
||||
/// <param name="_handle">Vertex buffer.</param>
|
||||
/// <param name="_startVertex">First instance data.</param>
|
||||
/// <param name="_num">Number of data instances. Set instance data buffer for draw primitive.</param>
|
||||
/// <param name="_num">Number of data instances.</param>
|
||||
///
|
||||
[DllImport(DllName, EntryPoint="bgfx_set_instance_data_from_vertex_buffer", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern unsafe void set_instance_data_from_vertex_buffer(VertexBufferHandle _handle, uint _startVertex, uint _num);
|
||||
|
@ -1455,7 +1455,6 @@ version(BindBgfx_Static)
|
||||
* _handle = Vertex buffer.
|
||||
* _startVertex = First instance data.
|
||||
* _num = Number of data instances.
|
||||
* Set instance data buffer for draw primitive.
|
||||
*/
|
||||
void bgfx_encoder_set_instance_data_from_vertex_buffer(bgfx_encoder_t* _this, bgfx_vertex_buffer_handle_t _handle, uint _startVertex, uint _num);
|
||||
|
||||
@ -1976,7 +1975,6 @@ version(BindBgfx_Static)
|
||||
* _handle = Vertex buffer.
|
||||
* _startVertex = First instance data.
|
||||
* _num = Number of data instances.
|
||||
* Set instance data buffer for draw primitive.
|
||||
*/
|
||||
void bgfx_set_instance_data_from_vertex_buffer(bgfx_vertex_buffer_handle_t _handle, uint _startVertex, uint _num);
|
||||
|
||||
@ -3766,7 +3764,6 @@ else
|
||||
* _handle = Vertex buffer.
|
||||
* _startVertex = First instance data.
|
||||
* _num = Number of data instances.
|
||||
* Set instance data buffer for draw primitive.
|
||||
*/
|
||||
alias da_bgfx_encoder_set_instance_data_from_vertex_buffer = void function(bgfx_encoder_t* _this, bgfx_vertex_buffer_handle_t _handle, uint _startVertex, uint _num);
|
||||
da_bgfx_encoder_set_instance_data_from_vertex_buffer bgfx_encoder_set_instance_data_from_vertex_buffer;
|
||||
@ -4333,7 +4330,6 @@ else
|
||||
* _handle = Vertex buffer.
|
||||
* _startVertex = First instance data.
|
||||
* _num = Number of data instances.
|
||||
* Set instance data buffer for draw primitive.
|
||||
*/
|
||||
alias da_bgfx_set_instance_data_from_vertex_buffer = void function(bgfx_vertex_buffer_handle_t _handle, uint _startVertex, uint _num);
|
||||
da_bgfx_set_instance_data_from_vertex_buffer bgfx_set_instance_data_from_vertex_buffer;
|
||||
|
@ -18,7 +18,7 @@ enum expandEnum(EnumType, string fqnEnumType = EnumType.stringof) = (){
|
||||
|
||||
extern(C) @nogc nothrow:
|
||||
|
||||
enum uint BGFX_API_VERSION = 120;
|
||||
enum uint BGFX_API_VERSION = 121;
|
||||
|
||||
alias bgfx_view_id_t = ushort;
|
||||
|
||||
|
@ -1700,7 +1700,7 @@ pub const Init = extern struct {
|
||||
/// Set instance data buffer for draw primitive.
|
||||
/// <param name="_handle">Vertex buffer.</param>
|
||||
/// <param name="_startVertex">First instance data.</param>
|
||||
/// <param name="_num">Number of data instances. Set instance data buffer for draw primitive.</param>
|
||||
/// <param name="_num">Number of data instances.</param>
|
||||
pub inline fn setInstanceDataFromVertexBuffer(self: ?*Encoder, _handle: VertexBufferHandle, _startVertex: u32, _num: u32) void {
|
||||
return bgfx_encoder_set_instance_data_from_vertex_buffer(self, _handle, _startVertex, _num);
|
||||
}
|
||||
@ -3067,7 +3067,7 @@ extern fn bgfx_encoder_set_instance_data_buffer(self: ?*Encoder, _idb: [*c]const
|
||||
/// Set instance data buffer for draw primitive.
|
||||
/// <param name="_handle">Vertex buffer.</param>
|
||||
/// <param name="_startVertex">First instance data.</param>
|
||||
/// <param name="_num">Number of data instances. Set instance data buffer for draw primitive.</param>
|
||||
/// <param name="_num">Number of data instances.</param>
|
||||
extern fn bgfx_encoder_set_instance_data_from_vertex_buffer(self: ?*Encoder, _handle: VertexBufferHandle, _startVertex: u32, _num: u32) void;
|
||||
|
||||
/// Set instance data buffer for draw primitive.
|
||||
@ -3498,7 +3498,7 @@ extern fn bgfx_set_instance_data_buffer(_idb: [*c]const InstanceDataBuffer, _sta
|
||||
/// Set instance data buffer for draw primitive.
|
||||
/// <param name="_handle">Vertex buffer.</param>
|
||||
/// <param name="_startVertex">First instance data.</param>
|
||||
/// <param name="_num">Number of data instances. Set instance data buffer for draw primitive.</param>
|
||||
/// <param name="_num">Number of data instances.</param>
|
||||
pub inline fn setInstanceDataFromVertexBuffer(_handle: VertexBufferHandle, _startVertex: u32, _num: u32) void {
|
||||
return bgfx_set_instance_data_from_vertex_buffer(_handle, _startVertex, _num);
|
||||
}
|
||||
|
@ -2596,7 +2596,6 @@ BGFX_C_API void bgfx_encoder_set_instance_data_buffer(bgfx_encoder_t* _this, con
|
||||
* @param[in] _handle Vertex buffer.
|
||||
* @param[in] _startVertex First instance data.
|
||||
* @param[in] _num Number of data instances.
|
||||
* Set instance data buffer for draw primitive.
|
||||
*
|
||||
*/
|
||||
BGFX_C_API void bgfx_encoder_set_instance_data_from_vertex_buffer(bgfx_encoder_t* _this, bgfx_vertex_buffer_handle_t _handle, uint32_t _startVertex, uint32_t _num);
|
||||
@ -3180,7 +3179,6 @@ BGFX_C_API void bgfx_set_instance_data_buffer(const bgfx_instance_data_buffer_t*
|
||||
* @param[in] _handle Vertex buffer.
|
||||
* @param[in] _startVertex First instance data.
|
||||
* @param[in] _num Number of data instances.
|
||||
* Set instance data buffer for draw primitive.
|
||||
*
|
||||
*/
|
||||
BGFX_C_API void bgfx_set_instance_data_from_vertex_buffer(bgfx_vertex_buffer_handle_t _handle, uint32_t _startVertex, uint32_t _num);
|
||||
|
@ -15,7 +15,7 @@
|
||||
#ifndef BGFX_DEFINES_H_HEADER_GUARD
|
||||
#define BGFX_DEFINES_H_HEADER_GUARD
|
||||
|
||||
#define BGFX_API_VERSION UINT32_C(120)
|
||||
#define BGFX_API_VERSION UINT32_C(121)
|
||||
|
||||
/**
|
||||
* Color RGB/alpha/depth write. When it's not specified write will be disabled.
|
||||
|
@ -1,7 +1,7 @@
|
||||
-- vim: syntax=lua
|
||||
-- bgfx interface
|
||||
|
||||
version(120)
|
||||
version(121)
|
||||
|
||||
typedef "bool"
|
||||
typedef "char"
|
||||
@ -2375,11 +2375,6 @@ func.Encoder.setInstanceDataBuffer
|
||||
.start "uint32_t" --- First instance data.
|
||||
.num "uint32_t" --- Number of data instances.
|
||||
|
||||
--- Set instance data buffer for draw primitive.
|
||||
func.Encoder.setInstanceDataBuffer { cpponly }
|
||||
"void"
|
||||
.handle "VertexBufferHandle" --- Vertex buffer.
|
||||
|
||||
--- Set instance data buffer for draw primitive.
|
||||
func.Encoder.setInstanceDataBuffer { cname = "set_instance_data_from_vertex_buffer" }
|
||||
"void"
|
||||
@ -2387,11 +2382,6 @@ func.Encoder.setInstanceDataBuffer { cname = "set_instance_data_from_vertex_buff
|
||||
.startVertex "uint32_t" --- First instance data.
|
||||
.num "uint32_t" --- Number of data instances.
|
||||
|
||||
--- Set instance data buffer for draw primitive.
|
||||
func.Encoder.setInstanceDataBuffer { cpponly }
|
||||
"void"
|
||||
.handle "DynamicVertexBufferHandle" --- Dynamic vertex buffer.
|
||||
|
||||
--- Set instance data buffer for draw primitive.
|
||||
func.Encoder.setInstanceDataBuffer { cname = "set_instance_data_from_dynamic_vertex_buffer" }
|
||||
"void"
|
||||
@ -2955,11 +2945,6 @@ func.setInstanceDataBuffer
|
||||
.start "uint32_t" --- First instance data.
|
||||
.num "uint32_t" --- Number of data instances.
|
||||
|
||||
--- Set instance data buffer for draw primitive.
|
||||
func.setInstanceDataBuffer { cpponly }
|
||||
"void"
|
||||
.handle "VertexBufferHandle" --- Vertex buffer.
|
||||
|
||||
--- Set instance data buffer for draw primitive.
|
||||
func.setInstanceDataBuffer { cname = "set_instance_data_from_vertex_buffer" }
|
||||
"void"
|
||||
@ -2967,11 +2952,6 @@ func.setInstanceDataBuffer { cname = "set_instance_data_from_vertex_buffer" }
|
||||
.startVertex "uint32_t" --- First instance data.
|
||||
.num "uint32_t" --- Number of data instances.
|
||||
|
||||
--- Set instance data buffer for draw primitive.
|
||||
func.setInstanceDataBuffer { cpponly }
|
||||
"void"
|
||||
.handle "DynamicVertexBufferHandle" --- Dynamic vertex buffer.
|
||||
|
||||
--- Set instance data buffer for draw primitive.
|
||||
func.setInstanceDataBuffer { cname = "set_instance_data_from_dynamic_vertex_buffer" }
|
||||
"void"
|
||||
|
@ -9,5 +9,5 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#define BGFX_REV_NUMBER 8495
|
||||
#define BGFX_REV_SHA1 "498c34273b59b957504c82fe396595a75dcfb3b0"
|
||||
#define BGFX_REV_NUMBER 8496
|
||||
#define BGFX_REV_SHA1 "02e67ff4044888df55ad8a8043673f0ce320c9c7"
|
||||
|
Loading…
Reference in New Issue
Block a user