Removed bgfx::weldVertices. (#3659)

This commit is contained in:
Branimir Karadžić
2026-04-12 18:30:57 -07:00
committed by GitHub
parent 2e49e0e38a
commit f3ad0e91af
18 changed files with 168 additions and 337 deletions

View File

@@ -1,7 +1,7 @@
-- vim: syntax=lua
-- bgfx interface
version(142)
version(143)
typedef "bool"
typedef "char"
@@ -1153,18 +1153,6 @@ func.vertexConvert { section = "Miscellaneous" }
.num "uint32_t" --- Number of vertices to convert from source to destination.
{ default = 1 }
--- Weld vertices. Returns number of unique vertices after welding.
func.weldVertices { section = "Miscellaneous" }
"uint32_t" --- Number of unique vertices after vertex welding.
.output "void*" --- Welded vertices remapping table. The size of buffer
--- must be the same as number of vertices.
.layout "const VertexLayout &" --- Vertex stream layout.
.data "const void*" --- Vertex stream.
.num "uint32_t" --- Number of vertices in vertex stream.
.index32 "bool" --- Set to `true` if input indices are 32-bit.
.epsilon "float" --- Error tolerance for vertex position comparison.
{ default = "0.001f" }
--- Convert index buffer for use with different primitive topologies.
func.topologyConvert { section = "Miscellaneous" }
"uint32_t" --- Number of output indices after conversion.