[ci skip][AUTO]: updating jsbinding automatically (#2362)

This commit is contained in:
CocosRobot
2020-04-09 18:39:05 +08:00
committed by GitHub
parent 318c28c1f0
commit 4211fb4ffd
@@ -14021,6 +14021,24 @@ static bool js_gfx_GFXWindow_getDepthStencilFormat(se::State& s)
}
SE_BIND_FUNC(js_gfx_GFXWindow_getDepthStencilFormat)
static bool js_gfx_GFXWindow_getFramebuffer(se::State& s)
{
cocos2d::GFXWindow* cobj = (cocos2d::GFXWindow*)s.nativeThisObject();
SE_PRECONDITION2(cobj, false, "js_gfx_GFXWindow_getFramebuffer : Invalid Native Object");
const auto& args = s.args();
size_t argc = args.size();
CC_UNUSED bool ok = true;
if (argc == 0) {
cocos2d::GFXFramebuffer* result = cobj->getFramebuffer();
ok &= native_ptr_to_seval(result, &s.rval());
SE_PRECONDITION2(ok, false, "js_gfx_GFXWindow_getFramebuffer : Error processing arguments");
return true;
}
SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0);
return false;
}
SE_BIND_PROP_GET(js_gfx_GFXWindow_getFramebuffer)
static bool js_gfx_GFXWindow_getLeft(se::State& s)
{
cocos2d::GFXWindow* cobj = (cocos2d::GFXWindow*)s.nativeThisObject();
@@ -14165,24 +14183,6 @@ static bool js_gfx_GFXWindow_isOffscreen(se::State& s)
}
SE_BIND_PROP_GET(js_gfx_GFXWindow_isOffscreen)
static bool js_gfx_GFXWindow_getFramebuffer(se::State& s)
{
cocos2d::GFXWindow* cobj = (cocos2d::GFXWindow*)s.nativeThisObject();
SE_PRECONDITION2(cobj, false, "js_gfx_GFXWindow_getFramebuffer : Invalid Native Object");
const auto& args = s.args();
size_t argc = args.size();
CC_UNUSED bool ok = true;
if (argc == 0) {
cocos2d::GFXFramebuffer* result = cobj->getFramebuffer();
ok &= native_ptr_to_seval(result, &s.rval());
SE_PRECONDITION2(ok, false, "js_gfx_GFXWindow_getFramebuffer : Error processing arguments");
return true;
}
SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0);
return false;
}
SE_BIND_PROP_GET(js_gfx_GFXWindow_getFramebuffer)
static bool js_gfx_GFXWindow_getTitle(se::State& s)
{
cocos2d::GFXWindow* cobj = (cocos2d::GFXWindow*)s.nativeThisObject();
@@ -18040,7 +18040,7 @@ bool register_all_gfx(se::Object* obj)
js_register_gfx_GFXInputAssembler(ns);
js_register_gfx_GFXContextInfo(ns);
js_register_gfx_GFXShader(ns);
js_register_gfx_GFXShaderStage(ns);
js_register_gfx_GFXDeviceInfo(ns);
js_register_gfx_GFXTextureView(ns);
js_register_gfx_GFXPipelineLayout(ns);
js_register_gfx_GFXFramebufferInfo(ns);
@@ -18049,7 +18049,7 @@ bool register_all_gfx(se::Object* obj)
js_register_gfx_GFXRasterizerState(ns);
js_register_gfx_GFXTextureInfo(ns);
js_register_gfx_GFXQueueInfo(ns);
js_register_gfx_GFXDeviceInfo(ns);
js_register_gfx_GFXShaderStage(ns);
js_register_gfx_GFXShaderInfo(ns);
js_register_gfx_GFXOffset(ns);
js_register_gfx_GFXPushConstantRange(ns);