| 123456789 |
- // rendering
- // 获取应用表面的宽高
- var _surf_w = surface_get_width(application_surface);
- var _surf_h = surface_get_height(application_surface);
- // 将光照渲染到应用表面上
- // 参数解析:(targetSurface, x, y, width, height, [textureFiltering], [alphaBlend])
- global.bulb_renderer.DrawLitSurface(application_surface, 0, 0, _surf_w, _surf_h);
|