src/lua-bindings/wrap_imgui_codegen.cpp
/*  This is useful if you need to forcefully create a new draw call (to allow for dependent rendering / blending). Otherwise primitives are merged into the same draw-call as much as possible */
This is useful if you need to forcefully create a new draw call (to allow for dependent rendering / blending). Otherwise primitives are merged into the same draw-call as much as possible
This is useful if you need to forcefully create a new draw call ( to allow for dependent rendering / blending ) . Otherwise primitives are merged into the same draw - call as much as possible
int w_ImDrawList_AddDrawCmd(lua_State *L)
{
	auto* self_udata = static_cast<WrapImDrawList*>(luaL_checkudata(L, 1, "ImDrawList"));
	if (!self_udata->isValid()) { luaL_error(L, "Expired userdata"); }
	auto* self = self_udata->value;
	self->AddDrawCmd();
	return 0;
}
int w_ImDrawList_AddDrawCmd ( lua_State * L ) { auto * self_udata = static_cast < WrapImDrawList * > ( luaL_checkudata ( L , 1 , " " ) ) ; if ( ! self_udata -> isValid ( ) ) { luaL_error ( L , " " ) ; } auto * self = self_udata -> value ; self -> AddDrawCmd ( ) ; return 0 ; }
This is useful if you need to forcefully create a new draw call (to allow for dependent rendering / blending).
This is useful if you need to forcefully create a new draw call ( to allow for dependent rendering / blending ) .