@defold-typescript/types 0.53.0 → 0.54.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli-runtime.js +8966 -0
- package/dist/identity-vocabulary.json +660 -0
- package/dist/src/index.d.ts +18 -0
- package/fixtures/defold-1.12.4/b2d_body_doc.json +1327 -0
- package/fixtures/defold-1.12.4/b2d_doc.json +107 -0
- package/fixtures/defold-1.12.4/base_doc.json +758 -0
- package/fixtures/defold-1.12.4/bit_doc.json +404 -0
- package/fixtures/defold-1.12.4/buffer_doc.json +422 -0
- package/fixtures/defold-1.12.4/camera_doc.json +664 -0
- package/fixtures/defold-1.12.4/collectionfactory_doc.json +219 -0
- package/fixtures/defold-1.12.4/collectionproxy_doc.json +289 -0
- package/fixtures/defold-1.12.4/coroutine_doc.json +151 -0
- package/fixtures/defold-1.12.4/crash_doc.json +497 -0
- package/fixtures/defold-1.12.4/debug_doc.json +410 -0
- package/fixtures/defold-1.12.4/factory_doc.json +219 -0
- package/fixtures/defold-1.12.4/font_doc.json +141 -0
- package/fixtures/defold-1.12.4/globals_doc.json +42 -0
- package/fixtures/defold-1.12.4/go-instance-functions.json +111 -0
- package/fixtures/defold-1.12.4/go_doc.json +1901 -0
- package/fixtures/defold-1.12.4/graphics_doc.json +1634 -0
- package/fixtures/defold-1.12.4/gui_doc.json +5249 -0
- package/fixtures/defold-1.12.4/html5_doc.json +64 -0
- package/fixtures/defold-1.12.4/http_doc.json +66 -0
- package/fixtures/defold-1.12.4/image_doc.json +170 -0
- package/fixtures/defold-1.12.4/io_doc.json +399 -0
- package/fixtures/defold-1.12.4/json_doc.json +97 -0
- package/fixtures/defold-1.12.4/label_doc.json +220 -0
- package/fixtures/defold-1.12.4/liveupdate_doc.json +308 -0
- package/fixtures/defold-1.12.4/math_doc.json +702 -0
- package/fixtures/defold-1.12.4/messages_doc.json +579 -0
- package/fixtures/defold-1.12.4/model_doc.json +315 -0
- package/fixtures/defold-1.12.4/msg_doc.json +137 -0
- package/fixtures/defold-1.12.4/os_doc.json +266 -0
- package/fixtures/defold-1.12.4/package_doc.json +139 -0
- package/fixtures/defold-1.12.4/particlefx_doc.json +249 -0
- package/fixtures/defold-1.12.4/physics_doc.json +1120 -0
- package/fixtures/defold-1.12.4/profiler_doc.json +375 -0
- package/fixtures/defold-1.12.4/render_doc.json +1167 -0
- package/fixtures/defold-1.12.4/resource_doc.json +762 -0
- package/fixtures/defold-1.12.4/socket_doc.json +2194 -0
- package/fixtures/defold-1.12.4/sound_doc.json +582 -0
- package/fixtures/defold-1.12.4/sprite_doc.json +245 -0
- package/fixtures/defold-1.12.4/string_doc.json +412 -0
- package/fixtures/defold-1.12.4/sys_doc.json +853 -0
- package/fixtures/defold-1.12.4/table_doc.json +166 -0
- package/fixtures/defold-1.12.4/tilemap_doc.json +374 -0
- package/fixtures/defold-1.12.4/timer_doc.json +153 -0
- package/fixtures/defold-1.12.4/types_doc.json +212 -0
- package/fixtures/defold-1.12.4/vmath_doc.json +1814 -0
- package/fixtures/defold-1.12.4/window_doc.json +388 -0
- package/fixtures/defold-1.12.4/zlib_doc.json +70 -0
- package/fixtures/defold-1.13.0/b2d_body_doc.json +2428 -0
- package/fixtures/defold-1.13.0/b2d_chain_doc.json +394 -0
- package/fixtures/defold-1.13.0/b2d_doc.json +128 -0
- package/fixtures/defold-1.13.0/b2d_fixture_doc.json +594 -0
- package/fixtures/defold-1.13.0/b2d_joint_doc.json +3315 -0
- package/fixtures/defold-1.13.0/b2d_shape_doc.json +802 -0
- package/fixtures/defold-1.13.0/b2d_world_doc.json +1314 -0
- package/fixtures/defold-1.13.0/base_doc.json +758 -0
- package/fixtures/defold-1.13.0/bit_doc.json +404 -0
- package/fixtures/defold-1.13.0/buffer_doc.json +422 -0
- package/fixtures/defold-1.13.0/camera_doc.json +900 -0
- package/fixtures/defold-1.13.0/collectionfactory_doc.json +219 -0
- package/fixtures/defold-1.13.0/collectionproxy_doc.json +289 -0
- package/fixtures/defold-1.13.0/compute_doc.json +182 -0
- package/fixtures/defold-1.13.0/coroutine_doc.json +151 -0
- package/fixtures/defold-1.13.0/crash_doc.json +497 -0
- package/fixtures/defold-1.13.0/debug_doc.json +410 -0
- package/fixtures/defold-1.13.0/editor_doc.json +3665 -0
- package/fixtures/defold-1.13.0/editor_http_doc.json +273 -0
- package/fixtures/defold-1.13.0/editor_json_doc.json +59 -0
- package/fixtures/defold-1.13.0/editor_localization_doc.json +138 -0
- package/fixtures/defold-1.13.0/editor_pprint_doc.json +36 -0
- package/fixtures/defold-1.13.0/editor_tilemap_tiles_doc.json +235 -0
- package/fixtures/defold-1.13.0/editor_zip_doc.json +163 -0
- package/fixtures/defold-1.13.0/editor_zlib_doc.json +48 -0
- package/fixtures/defold-1.13.0/factory_doc.json +219 -0
- package/fixtures/defold-1.13.0/font_doc.json +141 -0
- package/fixtures/defold-1.13.0/globals_doc.json +42 -0
- package/fixtures/defold-1.13.0/go-instance-functions.json +101 -0
- package/fixtures/defold-1.13.0/go_doc.json +1989 -0
- package/fixtures/defold-1.13.0/graphics_doc.json +1886 -0
- package/fixtures/defold-1.13.0/gui_doc.json +5277 -0
- package/fixtures/defold-1.13.0/html5_doc.json +64 -0
- package/fixtures/defold-1.13.0/http_doc.json +66 -0
- package/fixtures/defold-1.13.0/image_doc.json +170 -0
- package/fixtures/defold-1.13.0/import-manifest.json +10558 -0
- package/fixtures/defold-1.13.0/io_doc.json +399 -0
- package/fixtures/defold-1.13.0/json_doc.json +97 -0
- package/fixtures/defold-1.13.0/label_doc.json +220 -0
- package/fixtures/defold-1.13.0/liveupdate_doc.json +330 -0
- package/fixtures/defold-1.13.0/material_doc.json +238 -0
- package/fixtures/defold-1.13.0/math_doc.json +702 -0
- package/fixtures/defold-1.13.0/model_doc.json +412 -0
- package/fixtures/defold-1.13.0/msg_doc.json +137 -0
- package/fixtures/defold-1.13.0/os_doc.json +266 -0
- package/fixtures/defold-1.13.0/package_doc.json +139 -0
- package/fixtures/defold-1.13.0/particlefx_doc.json +249 -0
- package/fixtures/defold-1.13.0/physics_doc.json +1492 -0
- package/fixtures/defold-1.13.0/profiler_doc.json +375 -0
- package/fixtures/defold-1.13.0/render_doc.json +1381 -0
- package/fixtures/defold-1.13.0/resource_doc.json +762 -0
- package/fixtures/defold-1.13.0/socket_doc.json +2194 -0
- package/fixtures/defold-1.13.0/sound_doc.json +582 -0
- package/fixtures/defold-1.13.0/sprite_doc.json +335 -0
- package/fixtures/defold-1.13.0/string_doc.json +412 -0
- package/fixtures/defold-1.13.0/sys_doc.json +1142 -0
- package/fixtures/defold-1.13.0/table_doc.json +166 -0
- package/fixtures/defold-1.13.0/tilemap_doc.json +402 -0
- package/fixtures/defold-1.13.0/timer_doc.json +153 -0
- package/fixtures/defold-1.13.0/types_doc.json +212 -0
- package/fixtures/defold-1.13.0/vmath_doc.json +1814 -0
- package/fixtures/defold-1.13.0/window_doc.json +388 -0
- package/fixtures/defold-1.13.0/zlib_doc.json +70 -0
- package/fixtures/defold-1.13.1/b2d_body_doc.json +2428 -0
- package/fixtures/defold-1.13.1/b2d_chain_doc.json +394 -0
- package/fixtures/defold-1.13.1/b2d_doc.json +128 -0
- package/fixtures/defold-1.13.1/b2d_fixture_doc.json +594 -0
- package/fixtures/defold-1.13.1/b2d_joint_doc.json +3315 -0
- package/fixtures/defold-1.13.1/b2d_shape_doc.json +802 -0
- package/fixtures/defold-1.13.1/b2d_world_doc.json +1314 -0
- package/fixtures/defold-1.13.1/base_doc.json +758 -0
- package/fixtures/defold-1.13.1/bit_doc.json +404 -0
- package/fixtures/defold-1.13.1/buffer_doc.json +422 -0
- package/fixtures/defold-1.13.1/camera_doc.json +900 -0
- package/fixtures/defold-1.13.1/collectionfactory_doc.json +219 -0
- package/fixtures/defold-1.13.1/collectionproxy_doc.json +323 -0
- package/fixtures/defold-1.13.1/compute_doc.json +182 -0
- package/fixtures/defold-1.13.1/coroutine_doc.json +151 -0
- package/fixtures/defold-1.13.1/crash_doc.json +497 -0
- package/fixtures/defold-1.13.1/debug_doc.json +410 -0
- package/fixtures/defold-1.13.1/editor_doc.json +3880 -0
- package/fixtures/defold-1.13.1/editor_http_doc.json +273 -0
- package/fixtures/defold-1.13.1/editor_image_doc.json +128 -0
- package/fixtures/defold-1.13.1/editor_json_doc.json +59 -0
- package/fixtures/defold-1.13.1/editor_localization_doc.json +138 -0
- package/fixtures/defold-1.13.1/editor_pprint_doc.json +36 -0
- package/fixtures/defold-1.13.1/editor_tilemap_tiles_doc.json +235 -0
- package/fixtures/defold-1.13.1/editor_zip_doc.json +163 -0
- package/fixtures/defold-1.13.1/editor_zlib_doc.json +48 -0
- package/fixtures/defold-1.13.1/factory_doc.json +219 -0
- package/fixtures/defold-1.13.1/font_doc.json +141 -0
- package/fixtures/defold-1.13.1/globals_doc.json +42 -0
- package/fixtures/defold-1.13.1/go-instance-functions.json +102 -0
- package/fixtures/defold-1.13.1/go_doc.json +1989 -0
- package/fixtures/defold-1.13.1/graphics_doc.json +1886 -0
- package/fixtures/defold-1.13.1/gui_doc.json +5277 -0
- package/fixtures/defold-1.13.1/html5_doc.json +64 -0
- package/fixtures/defold-1.13.1/http_doc.json +66 -0
- package/fixtures/defold-1.13.1/image_doc.json +170 -0
- package/fixtures/defold-1.13.1/import-manifest.json +10091 -0
- package/fixtures/defold-1.13.1/io_doc.json +399 -0
- package/fixtures/defold-1.13.1/json_doc.json +97 -0
- package/fixtures/defold-1.13.1/label_doc.json +220 -0
- package/fixtures/defold-1.13.1/liveupdate_doc.json +330 -0
- package/fixtures/defold-1.13.1/material_doc.json +238 -0
- package/fixtures/defold-1.13.1/math_doc.json +702 -0
- package/fixtures/defold-1.13.1/model_doc.json +412 -0
- package/fixtures/defold-1.13.1/msg_doc.json +137 -0
- package/fixtures/defold-1.13.1/os_doc.json +266 -0
- package/fixtures/defold-1.13.1/package_doc.json +139 -0
- package/fixtures/defold-1.13.1/particlefx_doc.json +249 -0
- package/fixtures/defold-1.13.1/physics_doc.json +1492 -0
- package/fixtures/defold-1.13.1/profiler_doc.json +375 -0
- package/fixtures/defold-1.13.1/render_doc.json +1381 -0
- package/fixtures/defold-1.13.1/resource_doc.json +762 -0
- package/fixtures/defold-1.13.1/socket_doc.json +2194 -0
- package/fixtures/defold-1.13.1/sound_doc.json +582 -0
- package/fixtures/defold-1.13.1/sprite_doc.json +335 -0
- package/fixtures/defold-1.13.1/string_doc.json +412 -0
- package/fixtures/defold-1.13.1/sys_doc.json +1142 -0
- package/fixtures/defold-1.13.1/table_doc.json +166 -0
- package/fixtures/defold-1.13.1/tilemap_doc.json +402 -0
- package/fixtures/defold-1.13.1/timer_doc.json +153 -0
- package/fixtures/defold-1.13.1/types_doc.json +212 -0
- package/fixtures/defold-1.13.1/vmath_doc.json +1814 -0
- package/fixtures/defold-1.13.1/window_doc.json +388 -0
- package/fixtures/defold-1.13.1/zlib_doc.json +70 -0
- package/fixtures/defold-1.13.2/b2d_body_doc.json +2359 -0
- package/fixtures/defold-1.13.2/b2d_chain_doc.json +395 -0
- package/fixtures/defold-1.13.2/b2d_doc.json +1945 -0
- package/fixtures/defold-1.13.2/b2d_fixture_doc.json +595 -0
- package/fixtures/defold-1.13.2/b2d_joint_doc.json +3178 -0
- package/fixtures/defold-1.13.2/b2d_shape_doc.json +767 -0
- package/fixtures/defold-1.13.2/b2d_world_doc.json +1315 -0
- package/fixtures/defold-1.13.2/base_doc.json +759 -0
- package/fixtures/defold-1.13.2/bit_doc.json +405 -0
- package/fixtures/defold-1.13.2/buffer_doc.json +393 -0
- package/fixtures/defold-1.13.2/bullet3d_collision_object_doc.json +1206 -0
- package/fixtures/defold-1.13.2/bullet3d_constraint_doc.json +2455 -0
- package/fixtures/defold-1.13.2/bullet3d_doc.json +215 -0
- package/fixtures/defold-1.13.2/bullet3d_rigid_body_doc.json +1376 -0
- package/fixtures/defold-1.13.2/bullet3d_shape_doc.json +430 -0
- package/fixtures/defold-1.13.2/bullet3d_world_doc.json +855 -0
- package/fixtures/defold-1.13.2/camera_doc.json +887 -0
- package/fixtures/defold-1.13.2/collectionfactory_doc.json +206 -0
- package/fixtures/defold-1.13.2/collectionproxy_doc.json +397 -0
- package/fixtures/defold-1.13.2/compute_doc.json +183 -0
- package/fixtures/defold-1.13.2/coroutine_doc.json +152 -0
- package/fixtures/defold-1.13.2/crash_doc.json +483 -0
- package/fixtures/defold-1.13.2/debug_doc.json +411 -0
- package/fixtures/defold-1.13.2/editor_doc.json +6320 -0
- package/fixtures/defold-1.13.2/editor_http_doc.json +476 -0
- package/fixtures/defold-1.13.2/editor_image_doc.json +129 -0
- package/fixtures/defold-1.13.2/editor_json_doc.json +81 -0
- package/fixtures/defold-1.13.2/editor_localization_doc.json +139 -0
- package/fixtures/defold-1.13.2/editor_pprint_doc.json +37 -0
- package/fixtures/defold-1.13.2/editor_tilemap_tiles_doc.json +292 -0
- package/fixtures/defold-1.13.2/editor_zip_doc.json +237 -0
- package/fixtures/defold-1.13.2/editor_zlib_doc.json +49 -0
- package/fixtures/defold-1.13.2/factory_doc.json +206 -0
- package/fixtures/defold-1.13.2/font_doc.json +230 -0
- package/fixtures/defold-1.13.2/globals_doc.json +64 -0
- package/fixtures/defold-1.13.2/go-instance-functions.json +106 -0
- package/fixtures/defold-1.13.2/go_doc.json +1789 -0
- package/fixtures/defold-1.13.2/graphics_doc.json +1211 -0
- package/fixtures/defold-1.13.2/gui_doc.json +4735 -0
- package/fixtures/defold-1.13.2/html5_doc.json +65 -0
- package/fixtures/defold-1.13.2/http_doc.json +174 -0
- package/fixtures/defold-1.13.2/image_doc.json +298 -0
- package/fixtures/defold-1.13.2/import-manifest.json +10902 -0
- package/fixtures/defold-1.13.2/io_doc.json +400 -0
- package/fixtures/defold-1.13.2/json_doc.json +140 -0
- package/fixtures/defold-1.13.2/label_doc.json +427 -0
- package/fixtures/defold-1.13.2/liveupdate_doc.json +221 -0
- package/fixtures/defold-1.13.2/material_doc.json +773 -0
- package/fixtures/defold-1.13.2/math_doc.json +703 -0
- package/fixtures/defold-1.13.2/model_doc.json +472 -0
- package/fixtures/defold-1.13.2/msg_doc.json +169 -0
- package/fixtures/defold-1.13.2/os_doc.json +269 -0
- package/fixtures/defold-1.13.2/package_doc.json +140 -0
- package/fixtures/defold-1.13.2/particlefx_doc.json +249 -0
- package/fixtures/defold-1.13.2/physics_doc.json +1624 -0
- package/fixtures/defold-1.13.2/profiler_doc.json +348 -0
- package/fixtures/defold-1.13.2/render_doc.json +1623 -0
- package/fixtures/defold-1.13.2/resource_doc.json +1539 -0
- package/fixtures/defold-1.13.2/socket_doc.json +2335 -0
- package/fixtures/defold-1.13.2/sound_doc.json +673 -0
- package/fixtures/defold-1.13.2/sprite_doc.json +364 -0
- package/fixtures/defold-1.13.2/string_doc.json +413 -0
- package/fixtures/defold-1.13.2/sys_doc.json +1347 -0
- package/fixtures/defold-1.13.2/table_doc.json +167 -0
- package/fixtures/defold-1.13.2/tilemap_doc.json +369 -0
- package/fixtures/defold-1.13.2/timer_doc.json +214 -0
- package/fixtures/defold-1.13.2/types_doc.json +213 -0
- package/fixtures/defold-1.13.2/vmath_doc.json +2056 -0
- package/fixtures/defold-1.13.2/window_doc.json +426 -0
- package/fixtures/defold-1.13.2/zlib_doc.json +71 -0
- package/fixtures/defold-1.14.0/b2d_body_doc.json +2359 -0
- package/fixtures/defold-1.14.0/b2d_chain_doc.json +395 -0
- package/fixtures/defold-1.14.0/b2d_doc.json +1973 -0
- package/fixtures/defold-1.14.0/b2d_fixture_doc.json +595 -0
- package/fixtures/defold-1.14.0/b2d_joint_doc.json +3178 -0
- package/fixtures/defold-1.14.0/b2d_shape_doc.json +767 -0
- package/fixtures/defold-1.14.0/b2d_world_doc.json +1315 -0
- package/fixtures/defold-1.14.0/base_doc.json +759 -0
- package/fixtures/defold-1.14.0/bit_doc.json +405 -0
- package/fixtures/defold-1.14.0/buffer_doc.json +393 -0
- package/fixtures/defold-1.14.0/bullet3d_collision_object_doc.json +1206 -0
- package/fixtures/defold-1.14.0/bullet3d_constraint_doc.json +2455 -0
- package/fixtures/defold-1.14.0/bullet3d_doc.json +243 -0
- package/fixtures/defold-1.14.0/bullet3d_rigid_body_doc.json +1376 -0
- package/fixtures/defold-1.14.0/bullet3d_shape_doc.json +430 -0
- package/fixtures/defold-1.14.0/bullet3d_world_doc.json +855 -0
- package/fixtures/defold-1.14.0/camera_doc.json +887 -0
- package/fixtures/defold-1.14.0/collectionfactory_doc.json +206 -0
- package/fixtures/defold-1.14.0/collectionproxy_doc.json +397 -0
- package/fixtures/defold-1.14.0/compute_doc.json +183 -0
- package/fixtures/defold-1.14.0/coroutine_doc.json +152 -0
- package/fixtures/defold-1.14.0/crash_doc.json +483 -0
- package/fixtures/defold-1.14.0/debug_doc.json +411 -0
- package/fixtures/defold-1.14.0/editor_doc.json +6320 -0
- package/fixtures/defold-1.14.0/editor_http_doc.json +476 -0
- package/fixtures/defold-1.14.0/editor_image_doc.json +129 -0
- package/fixtures/defold-1.14.0/editor_json_doc.json +81 -0
- package/fixtures/defold-1.14.0/editor_localization_doc.json +139 -0
- package/fixtures/defold-1.14.0/editor_pprint_doc.json +37 -0
- package/fixtures/defold-1.14.0/editor_tilemap_tiles_doc.json +292 -0
- package/fixtures/defold-1.14.0/editor_zip_doc.json +237 -0
- package/fixtures/defold-1.14.0/editor_zlib_doc.json +49 -0
- package/fixtures/defold-1.14.0/factory_doc.json +206 -0
- package/fixtures/defold-1.14.0/font_doc.json +230 -0
- package/fixtures/defold-1.14.0/globals_doc.json +64 -0
- package/fixtures/defold-1.14.0/go-instance-functions.json +106 -0
- package/fixtures/defold-1.14.0/go_doc.json +1789 -0
- package/fixtures/defold-1.14.0/graphics_doc.json +1257 -0
- package/fixtures/defold-1.14.0/gui_doc.json +4735 -0
- package/fixtures/defold-1.14.0/html5_doc.json +65 -0
- package/fixtures/defold-1.14.0/http_doc.json +174 -0
- package/fixtures/defold-1.14.0/image_doc.json +298 -0
- package/fixtures/defold-1.14.0/import-manifest.json +10260 -0
- package/fixtures/defold-1.14.0/io_doc.json +400 -0
- package/fixtures/defold-1.14.0/json_doc.json +140 -0
- package/fixtures/defold-1.14.0/label_doc.json +427 -0
- package/fixtures/defold-1.14.0/liveupdate_doc.json +221 -0
- package/fixtures/defold-1.14.0/material_doc.json +773 -0
- package/fixtures/defold-1.14.0/math_doc.json +703 -0
- package/fixtures/defold-1.14.0/model_doc.json +472 -0
- package/fixtures/defold-1.14.0/msg_doc.json +169 -0
- package/fixtures/defold-1.14.0/os_doc.json +269 -0
- package/fixtures/defold-1.14.0/package_doc.json +140 -0
- package/fixtures/defold-1.14.0/particlefx_doc.json +249 -0
- package/fixtures/defold-1.14.0/physics_doc.json +1624 -0
- package/fixtures/defold-1.14.0/profiler_doc.json +348 -0
- package/fixtures/defold-1.14.0/render_doc.json +1628 -0
- package/fixtures/defold-1.14.0/resource_doc.json +1539 -0
- package/fixtures/defold-1.14.0/socket_doc.json +2335 -0
- package/fixtures/defold-1.14.0/sound_doc.json +673 -0
- package/fixtures/defold-1.14.0/sprite_doc.json +364 -0
- package/fixtures/defold-1.14.0/string_doc.json +413 -0
- package/fixtures/defold-1.14.0/sys_doc.json +1347 -0
- package/fixtures/defold-1.14.0/table_doc.json +167 -0
- package/fixtures/defold-1.14.0/tilemap_doc.json +369 -0
- package/fixtures/defold-1.14.0/timer_doc.json +214 -0
- package/fixtures/defold-1.14.0/types_doc.json +213 -0
- package/fixtures/defold-1.14.0/vmath_doc.json +2056 -0
- package/fixtures/defold-1.14.0/window_doc.json +426 -0
- package/fixtures/defold-1.14.0/zlib_doc.json +71 -0
- package/package.json +13 -6
- package/scripts/cli-runtime.ts +18 -0
- package/scripts/example-store-io.ts +2 -2
- package/scripts/extension-goldens.ts +9 -5
- package/scripts/generate-api-availability.ts +1 -1
- package/scripts/generate-api-signatures.ts +1 -1
- package/scripts/import-defold-release.ts +1 -1
- package/scripts/regen.ts +35 -9
- package/scripts/signature-store-fs.ts +37 -17
- package/scripts/sync-api-docs.ts +127 -20
- package/src/api-doc.ts +11 -4
- package/src/emit-dts.ts +115 -21
- package/src/index-slot-classifications.ts +75 -9
- package/src/index.ts +3 -1
- package/src/publish-dts.ts +16 -0
- package/src/script-api.ts +36 -38
- package/src/library-index-slot-classifications.ts +0 -332
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
{
|
|
2
|
+
"elements": [
|
|
3
|
+
{
|
|
4
|
+
"type": "FUNCTION",
|
|
5
|
+
"name": "compute.get_samplers",
|
|
6
|
+
"brief": "gets texture samplers from a compute program",
|
|
7
|
+
"description": "Returns a table of all the texture samplers in the compute program. This function will return all the texture samplers\nthat are available, even the ones that have not been specified in the compute resource.",
|
|
8
|
+
"returnvalues": [
|
|
9
|
+
{
|
|
10
|
+
"name": "table",
|
|
11
|
+
"doc": "A table of tables, where each entry contains info about the texture samplers:\n<dl>\n<dt><code>name</code></dt>\n<dd><span class=\"type\">hash</span> the hashed name of the texture sampler</dd>\n<dt><code>u_wrap</code></dt>\n<dd><span class=\"type\">number</span> the u wrap mode of the texture sampler. Supported values:</dd>\n</dl>\n<ul>\n<li><code>graphics.TEXTURE_WRAP_CLAMP_TO_BORDER</code></li>\n<li><code>graphics.TEXTURE_WRAP_CLAMP_TO_EDGE</code></li>\n<li><code>graphics.TEXTURE_WRAP_MIRRORED_REPEAT</code></li>\n<li><code>graphics.TEXTURE_WRAP_REPEAT</code></li>\n</ul>\n<dl>\n<dt><code>v_wrap</code></dt>\n<dd><span class=\"type\">number</span> the v wrap mode of the texture sampler. Supported values:</dd>\n</dl>\n<ul>\n<li><code>graphics.TEXTURE_WRAP_CLAMP_TO_BORDER</code></li>\n<li><code>graphics.TEXTURE_WRAP_CLAMP_TO_EDGE</code></li>\n<li><code>graphics.TEXTURE_WRAP_MIRRORED_REPEAT</code></li>\n<li><code>graphics.TEXTURE_WRAP_REPEAT</code></li>\n</ul>\n<dl>\n<dt><code>min_filter</code></dt>\n<dd><span class=\"type\">number</span> the min filter mode of the texture sampler. Supported values:</dd>\n</dl>\n<ul>\n<li><code>graphics.TEXTURE_FILTER_DEFAULT</code></li>\n<li><code>graphics.TEXTURE_FILTER_NEAREST</code></li>\n<li><code>graphics.TEXTURE_FILTER_LINEAR</code></li>\n<li><code>graphics.TEXTURE_FILTER_NEAREST_MIPMAP_NEAREST</code></li>\n<li><code>graphics.TEXTURE_FILTER_NEAREST_MIPMAP_LINEAR</code></li>\n<li><code>graphics.TEXTURE_FILTER_LINEAR_MIPMAP_NEAREST</code></li>\n<li><code>graphics.TEXTURE_FILTER_LINEAR_MIPMAP_LINEAR</code></li>\n</ul>\n<dl>\n<dt><code>mag_filter</code></dt>\n<dd><span class=\"type\">number</span> the mag filter mode of the texture sampler</dd>\n</dl>\n<ul>\n<li><code>graphics.TEXTURE_FILTER_DEFAULT</code></li>\n<li><code>graphics.TEXTURE_FILTER_NEAREST</code></li>\n<li><code>graphics.TEXTURE_FILTER_LINEAR</code></li>\n</ul>\n<dl>\n<dt><code>max_anisotropy</code></dt>\n<dd><span class=\"type\">number</span> the max anisotropy of the texture sampler</dd>\n</dl>",
|
|
12
|
+
"types": ["table"]
|
|
13
|
+
}
|
|
14
|
+
],
|
|
15
|
+
"parameters": [
|
|
16
|
+
{
|
|
17
|
+
"name": "path",
|
|
18
|
+
"doc": "The path to the resource",
|
|
19
|
+
"types": ["hash", "string"],
|
|
20
|
+
"is_optional": "False"
|
|
21
|
+
}
|
|
22
|
+
],
|
|
23
|
+
"examples": "Get the texture samplers from a compute program resource\n<div class=\"codehilite\"><pre><span></span><code><span class=\"kr\">function</span> <span class=\"nf\">init</span><span class=\"p\">(</span><span class=\"n\">self</span><span class=\"p\">)</span>\n <span class=\"kd\">local</span> <span class=\"n\">samplers</span> <span class=\"o\">=</span> <span class=\"n\">compute</span><span class=\"p\">.</span><span class=\"n\">get_samplers</span><span class=\"p\">(</span><span class=\"s2\">"/my_compute.computec"</span><span class=\"p\">)</span>\n<span class=\"kr\">end</span>\n</code></pre></div>",
|
|
24
|
+
"replaces": "",
|
|
25
|
+
"error": "",
|
|
26
|
+
"tparams": [],
|
|
27
|
+
"members": [],
|
|
28
|
+
"notes": [],
|
|
29
|
+
"language": ""
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"type": "FUNCTION",
|
|
33
|
+
"name": "compute.get_constants",
|
|
34
|
+
"brief": "gets shader constants from a compute program",
|
|
35
|
+
"description": "Returns a table of all the shader constants in the compute program.",
|
|
36
|
+
"returnvalues": [
|
|
37
|
+
{
|
|
38
|
+
"name": "table",
|
|
39
|
+
"doc": "A table of tables, where each entry contains info about the shader constants:\n<dl>\n<dt><code>name</code></dt>\n<dd><span class=\"type\">hash</span> the hashed name of the constant</dd>\n<dt><code>type</code></dt>\n<dd><span class=\"type\">number</span> the type of the constant. Supported values:</dd>\n</dl>\n<ul>\n<li><code>material.CONSTANT_TYPE_USER</code></li>\n<li><code>material.CONSTANT_TYPE_USER_MATRIX4</code></li>\n<li><code>material.CONSTANT_TYPE_VIEWPROJ</code></li>\n<li><code>material.CONSTANT_TYPE_WORLD</code></li>\n<li><code>material.CONSTANT_TYPE_TEXTURE</code></li>\n<li><code>material.CONSTANT_TYPE_VIEW</code></li>\n<li><code>material.CONSTANT_TYPE_PROJECTION</code></li>\n<li><code>material.CONSTANT_TYPE_NORMAL</code></li>\n<li><code>material.CONSTANT_TYPE_WORLDVIEW</code></li>\n<li><code>material.CONSTANT_TYPE_WORLDVIEWPROJ</code></li>\n<li><code>material.CONSTANT_TYPE_TIME</code></li>\n<li><code>material.CONSTANT_TYPE_WORLD_INVERSE</code></li>\n<li><code>material.CONSTANT_TYPE_VIEW_INVERSE</code></li>\n<li><code>material.CONSTANT_TYPE_PROJECTION_INVERSE</code></li>\n<li><code>material.CONSTANT_TYPE_VIEWPROJ_INVERSE</code></li>\n<li><code>material.CONSTANT_TYPE_WORLDVIEW_INVERSE</code></li>\n<li><code>material.CONSTANT_TYPE_WORLDVIEWPROJ_INVERSE</code></li>\n</ul>\n<dl>\n<dt><code>value</code></dt>\n<dd><span class=\"type\">vmath.vector4 | vmath.matrix4</span> the value(s) of the constant. If the constant is an array, the value will be a table of vmath.vector4 or vmath.matrix4 if the type is <code>material.CONSTANT_TYPE_USER_MATRIX4</code>.</dd>\n</dl>",
|
|
40
|
+
"types": ["table"]
|
|
41
|
+
}
|
|
42
|
+
],
|
|
43
|
+
"parameters": [
|
|
44
|
+
{
|
|
45
|
+
"name": "path",
|
|
46
|
+
"doc": "The path to the resource",
|
|
47
|
+
"types": ["hash", "string"],
|
|
48
|
+
"is_optional": "False"
|
|
49
|
+
}
|
|
50
|
+
],
|
|
51
|
+
"examples": "Get the shader constants from a compute program resource\n<div class=\"codehilite\"><pre><span></span><code><span class=\"kr\">function</span> <span class=\"nf\">init</span><span class=\"p\">(</span><span class=\"n\">self</span><span class=\"p\">)</span>\n <span class=\"kd\">local</span> <span class=\"n\">constants</span> <span class=\"o\">=</span> <span class=\"n\">compute</span><span class=\"p\">.</span><span class=\"n\">get_constants</span><span class=\"p\">(</span><span class=\"s2\">"/my_compute.computec"</span><span class=\"p\">)</span>\n<span class=\"kr\">end</span>\n</code></pre></div>",
|
|
52
|
+
"replaces": "",
|
|
53
|
+
"error": "",
|
|
54
|
+
"tparams": [],
|
|
55
|
+
"members": [],
|
|
56
|
+
"notes": [],
|
|
57
|
+
"language": ""
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"type": "FUNCTION",
|
|
61
|
+
"name": "compute.get_textures",
|
|
62
|
+
"brief": "gets textures associated with a compute program",
|
|
63
|
+
"description": "Returns a table of all the textures from the compute program.",
|
|
64
|
+
"returnvalues": [
|
|
65
|
+
{
|
|
66
|
+
"name": "table",
|
|
67
|
+
"doc": "A table of tables, where each entry contains info about the compute textures:\n<dl>\n<dt><code>path</code></dt>\n<dd><span class=\"type\">hash</span> the resource path of the texture. Only available if the texture is a resource.</dd>\n<dt><code>handle</code></dt>\n<dd><span class=\"type\">hash</span> the runtime handle of the texture.</dd>\n<dt><code>width</code></dt>\n<dd><span class=\"type\">number</span> the width of the texture</dd>\n<dt><code>height</code></dt>\n<dd><span class=\"type\">number</span> the height of the texture</dd>\n<dt><code>depth</code></dt>\n<dd><span class=\"type\">number</span> the depth of the texture. Corresponds to the number of layers in an array texture.</dd>\n<dt><code>mipmaps</code></dt>\n<dd><span class=\"type\">number</span> the number of mipmaps in the texture</dd>\n<dt><code>type</code></dt>\n<dd><span class=\"type\">number</span> the type of the texture. Supported values:</dd>\n</dl>\n<ul>\n<li><code>graphics.TEXTURE_TYPE_2D</code></li>\n<li><code>graphics.TEXTURE_TYPE_2D_ARRAY</code></li>\n<li><code>graphics.TEXTURE_TYPE_CUBE_MAP</code></li>\n<li><code>graphics.TEXTURE_TYPE_IMAGE_2D</code></li>\n<li><code>graphics.TEXTURE_TYPE_3D</code></li>\n<li><code>graphics.TEXTURE_TYPE_IMAGE_3D</code></li>\n</ul>\n<dl>\n<dt><code>flags</code></dt>\n<dd><span class=\"type\">number</span> the flags of the texture. This field is a bit mask of these supported flags:</dd>\n</dl>\n<ul>\n<li><code>graphics.TEXTURE_USAGE_FLAG_SAMPLE</code></li>\n<li><code>graphics.TEXTURE_USAGE_FLAG_MEMORYLESS</code></li>\n<li><code>graphics.TEXTURE_USAGE_FLAG_STORAGE</code></li>\n<li><code>graphics.TEXTURE_USAGE_FLAG_INPUT</code></li>\n<li><code>graphics.TEXTURE_USAGE_FLAG_COLOR</code></li>\n</ul>",
|
|
68
|
+
"types": ["table"]
|
|
69
|
+
}
|
|
70
|
+
],
|
|
71
|
+
"parameters": [
|
|
72
|
+
{
|
|
73
|
+
"name": "path",
|
|
74
|
+
"doc": "The path to the resource",
|
|
75
|
+
"types": ["hash", "string"],
|
|
76
|
+
"is_optional": "False"
|
|
77
|
+
}
|
|
78
|
+
],
|
|
79
|
+
"examples": "Get the textures from a compute program resource\n<div class=\"codehilite\"><pre><span></span><code><span class=\"kr\">function</span> <span class=\"nf\">init</span><span class=\"p\">(</span><span class=\"n\">self</span><span class=\"p\">)</span>\n <span class=\"kd\">local</span> <span class=\"n\">textures</span> <span class=\"o\">=</span> <span class=\"n\">compute</span><span class=\"p\">.</span><span class=\"n\">get_textures</span><span class=\"p\">(</span><span class=\"s2\">"/my_compute.computec"</span><span class=\"p\">)</span>\n<span class=\"kr\">end</span>\n</code></pre></div>",
|
|
80
|
+
"replaces": "",
|
|
81
|
+
"error": "",
|
|
82
|
+
"tparams": [],
|
|
83
|
+
"members": [],
|
|
84
|
+
"notes": [],
|
|
85
|
+
"language": ""
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"type": "FUNCTION",
|
|
89
|
+
"name": "compute.set_samplers",
|
|
90
|
+
"brief": "sets texture samplers in a compute program",
|
|
91
|
+
"description": "Sets texture samplers in a compute program, if the samplers exist. Use this function to change the settings of texture samplers.\nTo set actual textures that should be bound to the samplers, use the <code>compute.set_textures</code> function instead.",
|
|
92
|
+
"returnvalues": [],
|
|
93
|
+
"parameters": [
|
|
94
|
+
{
|
|
95
|
+
"name": "path",
|
|
96
|
+
"doc": "The path to the resource",
|
|
97
|
+
"types": ["hash", "string"],
|
|
98
|
+
"is_optional": "False"
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
"name": "samplers",
|
|
102
|
+
"doc": "A table keyed by sampler name with args tables as values. Partial updates are supported. Supported entries:\n<dl>\n<dt><code>u_wrap</code></dt>\n<dd><span class=\"type\">number</span> the u wrap mode of the texture sampler. Supported values:</dd>\n</dl>\n<ul>\n<li><code>graphics.TEXTURE_WRAP_CLAMP_TO_BORDER</code></li>\n<li><code>graphics.TEXTURE_WRAP_CLAMP_TO_EDGE</code></li>\n<li><code>graphics.TEXTURE_WRAP_MIRRORED_REPEAT</code></li>\n<li><code>graphics.TEXTURE_WRAP_REPEAT</code></li>\n</ul>\n<dl>\n<dt><code>v_wrap</code></dt>\n<dd><span class=\"type\">number</span> the v wrap mode of the texture sampler. Supported values:</dd>\n</dl>\n<ul>\n<li><code>graphics.TEXTURE_WRAP_CLAMP_TO_BORDER</code></li>\n<li><code>graphics.TEXTURE_WRAP_CLAMP_TO_EDGE</code></li>\n<li><code>graphics.TEXTURE_WRAP_MIRRORED_REPEAT</code></li>\n<li><code>graphics.TEXTURE_WRAP_REPEAT</code></li>\n</ul>\n<dl>\n<dt><code>min_filter</code></dt>\n<dd><span class=\"type\">number</span> the min filter mode of the texture sampler. Supported values:</dd>\n</dl>\n<ul>\n<li><code>graphics.TEXTURE_FILTER_DEFAULT</code></li>\n<li><code>graphics.TEXTURE_FILTER_NEAREST</code></li>\n<li><code>graphics.TEXTURE_FILTER_LINEAR</code></li>\n<li><code>graphics.TEXTURE_FILTER_NEAREST_MIPMAP_NEAREST</code></li>\n<li><code>graphics.TEXTURE_FILTER_NEAREST_MIPMAP_LINEAR</code></li>\n<li><code>graphics.TEXTURE_FILTER_LINEAR_MIPMAP_NEAREST</code></li>\n<li><code>graphics.TEXTURE_FILTER_LINEAR_MIPMAP_LINEAR</code></li>\n</ul>\n<dl>\n<dt><code>mag_filter</code></dt>\n<dd><span class=\"type\">number</span> the mag filter mode of the texture sampler</dd>\n</dl>\n<ul>\n<li><code>graphics.TEXTURE_FILTER_DEFAULT</code></li>\n<li><code>graphics.TEXTURE_FILTER_NEAREST</code></li>\n<li><code>graphics.TEXTURE_FILTER_LINEAR</code></li>\n</ul>\n<dl>\n<dt><code>max_anisotropy</code></dt>\n<dd><span class=\"type\">number</span> the max anisotropy of the texture sampler</dd>\n</dl>",
|
|
103
|
+
"types": ["table"],
|
|
104
|
+
"is_optional": "False"
|
|
105
|
+
}
|
|
106
|
+
],
|
|
107
|
+
"examples": "Configures a sampler in a compute program\n<div class=\"codehilite\"><pre><span></span><code><span class=\"kr\">function</span> <span class=\"nf\">init</span><span class=\"p\">(</span><span class=\"n\">self</span><span class=\"p\">)</span>\n <span class=\"n\">compute</span><span class=\"p\">.</span><span class=\"n\">set_samplers</span><span class=\"p\">(</span><span class=\"s2\">"/my_compute.computec"</span><span class=\"p\">,</span> <span class=\"p\">{</span>\n <span class=\"n\">texture_sampler</span> <span class=\"o\">=</span> <span class=\"p\">{</span> <span class=\"n\">u_wrap</span> <span class=\"o\">=</span> <span class=\"n\">graphics</span><span class=\"p\">.</span><span class=\"n\">TEXTURE_WRAP_REPEAT</span><span class=\"p\">,</span> <span class=\"n\">v_wrap</span> <span class=\"o\">=</span> <span class=\"n\">graphics</span><span class=\"p\">.</span><span class=\"n\">TEXTURE_WRAP_MIRRORED_REPEAT</span> <span class=\"p\">}</span>\n <span class=\"p\">})</span>\n<span class=\"kr\">end</span>\n</code></pre></div>",
|
|
108
|
+
"replaces": "",
|
|
109
|
+
"error": "",
|
|
110
|
+
"tparams": [],
|
|
111
|
+
"members": [],
|
|
112
|
+
"notes": [],
|
|
113
|
+
"language": ""
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"type": "FUNCTION",
|
|
117
|
+
"name": "compute.set_constants",
|
|
118
|
+
"brief": "sets shader constants in a compute program",
|
|
119
|
+
"description": "Sets shader constants in a compute program, if the constants exist.",
|
|
120
|
+
"returnvalues": [],
|
|
121
|
+
"parameters": [
|
|
122
|
+
{
|
|
123
|
+
"name": "path",
|
|
124
|
+
"doc": "The path to the resource",
|
|
125
|
+
"types": ["hash", "string"],
|
|
126
|
+
"is_optional": "False"
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
"name": "constants",
|
|
130
|
+
"doc": "A table keyed by constant name with args tables as values. Constants can be partially updated. Supported entries:\n<dl>\n<dt><code>type</code></dt>\n<dd><span class=\"type\">number</span> the type of the constant. Supported values:</dd>\n</dl>\n<ul>\n<li><code>material.CONSTANT_TYPE_USER</code></li>\n<li><code>material.CONSTANT_TYPE_USER_MATRIX4</code></li>\n<li><code>material.CONSTANT_TYPE_VIEWPROJ</code></li>\n<li><code>material.CONSTANT_TYPE_WORLD</code></li>\n<li><code>material.CONSTANT_TYPE_TEXTURE</code></li>\n<li><code>material.CONSTANT_TYPE_VIEW</code></li>\n<li><code>material.CONSTANT_TYPE_PROJECTION</code></li>\n<li><code>material.CONSTANT_TYPE_NORMAL</code></li>\n<li><code>material.CONSTANT_TYPE_WORLDVIEW</code></li>\n<li><code>material.CONSTANT_TYPE_WORLDVIEWPROJ</code></li>\n<li><code>material.CONSTANT_TYPE_TIME</code></li>\n<li><code>material.CONSTANT_TYPE_WORLD_INVERSE</code></li>\n<li><code>material.CONSTANT_TYPE_VIEW_INVERSE</code></li>\n<li><code>material.CONSTANT_TYPE_PROJECTION_INVERSE</code></li>\n<li><code>material.CONSTANT_TYPE_VIEWPROJ_INVERSE</code></li>\n<li><code>material.CONSTANT_TYPE_WORLDVIEW_INVERSE</code></li>\n<li><code>material.CONSTANT_TYPE_WORLDVIEWPROJ_INVERSE</code></li>\n</ul>\n<dl>\n<dt><code>value</code></dt>\n<dd><span class=\"type\">vmath.vector4 | vmath.vector3 | vmath.matrix4 | number | table</span> the value(s) of the constant. If the shader constant is an array, the amount of values to update depends on how many values that are passed in the 'value' field.</dd>\n</dl>",
|
|
131
|
+
"types": ["table"],
|
|
132
|
+
"is_optional": "False"
|
|
133
|
+
}
|
|
134
|
+
],
|
|
135
|
+
"examples": "Set a shader constant in a compute program\n<div class=\"codehilite\"><pre><span></span><code><span class=\"kr\">function</span> <span class=\"nf\">update</span><span class=\"p\">(</span><span class=\"n\">self</span><span class=\"p\">)</span>\n <span class=\"c1\">-- update the 'tint' constant</span>\n <span class=\"n\">compute</span><span class=\"p\">.</span><span class=\"n\">set_constants</span><span class=\"p\">(</span><span class=\"s2\">"/my_compute.computec"</span><span class=\"p\">,</span> <span class=\"p\">{</span>\n <span class=\"n\">tint</span> <span class=\"o\">=</span> <span class=\"p\">{</span> <span class=\"n\">value</span> <span class=\"o\">=</span> <span class=\"n\">vmath</span><span class=\"p\">.</span><span class=\"n\">vector4</span><span class=\"p\">(</span><span class=\"mi\">1</span><span class=\"p\">,</span> <span class=\"mi\">0</span><span class=\"p\">,</span> <span class=\"mi\">0</span><span class=\"p\">,</span> <span class=\"mi\">1</span><span class=\"p\">)</span> <span class=\"p\">}</span>\n <span class=\"p\">})</span>\n <span class=\"c1\">-- change the type of the 'view_proj' constant to CONSTANT_TYPE_USER_MATRIX4 so the renderer can set our custom data</span>\n <span class=\"n\">compute</span><span class=\"p\">.</span><span class=\"n\">set_constants</span><span class=\"p\">(</span><span class=\"s2\">"/my_compute.computec"</span><span class=\"p\">,</span> <span class=\"p\">{</span>\n <span class=\"n\">view_proj</span> <span class=\"o\">=</span> <span class=\"p\">{</span> <span class=\"n\">value</span> <span class=\"o\">=</span> <span class=\"n\">self</span><span class=\"p\">.</span><span class=\"n\">my_view_proj</span><span class=\"p\">,</span> <span class=\"nb\">type</span> <span class=\"o\">=</span> <span class=\"n\">material</span><span class=\"p\">.</span><span class=\"n\">CONSTANT_TYPE_USER_MATRIX4</span> <span class=\"p\">}</span>\n <span class=\"p\">})</span>\n<span class=\"kr\">end</span>\n</code></pre></div>",
|
|
136
|
+
"replaces": "",
|
|
137
|
+
"error": "",
|
|
138
|
+
"tparams": [],
|
|
139
|
+
"members": [],
|
|
140
|
+
"notes": [],
|
|
141
|
+
"language": ""
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
"type": "FUNCTION",
|
|
145
|
+
"name": "compute.set_textures",
|
|
146
|
+
"brief": "sets textures in a compute program",
|
|
147
|
+
"description": "Sets textures in a compute program, if the samplers exist.",
|
|
148
|
+
"returnvalues": [],
|
|
149
|
+
"parameters": [
|
|
150
|
+
{
|
|
151
|
+
"name": "path",
|
|
152
|
+
"doc": "The path to the resource",
|
|
153
|
+
"types": ["hash", "string"],
|
|
154
|
+
"is_optional": "False"
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
"name": "textures",
|
|
158
|
+
"doc": "A table keyed by sampler name with texture resources as values.",
|
|
159
|
+
"types": ["table"],
|
|
160
|
+
"is_optional": "False"
|
|
161
|
+
}
|
|
162
|
+
],
|
|
163
|
+
"examples": "Set a texture in a compute program from a resource\n<div class=\"codehilite\"><pre><span></span><code><span class=\"n\">go</span><span class=\"p\">.</span><span class=\"n\">property</span><span class=\"p\">(</span><span class=\"s2\">"my_texture"</span><span class=\"p\">,</span> <span class=\"n\">resource</span><span class=\"p\">.</span><span class=\"n\">texture</span><span class=\"p\">())</span>\n\n<span class=\"kr\">function</span> <span class=\"nf\">init</span><span class=\"p\">(</span><span class=\"n\">self</span><span class=\"p\">)</span>\n <span class=\"n\">compute</span><span class=\"p\">.</span><span class=\"n\">set_textures</span><span class=\"p\">(</span><span class=\"s2\">"/my_compute.computec"</span><span class=\"p\">,</span> <span class=\"p\">{</span>\n <span class=\"n\">my_texture</span> <span class=\"o\">=</span> <span class=\"n\">self</span><span class=\"p\">.</span><span class=\"n\">my_texture</span>\n <span class=\"p\">})</span>\n<span class=\"kr\">end</span>\n</code></pre></div>",
|
|
164
|
+
"replaces": "",
|
|
165
|
+
"error": "",
|
|
166
|
+
"tparams": [],
|
|
167
|
+
"members": [],
|
|
168
|
+
"notes": [],
|
|
169
|
+
"language": ""
|
|
170
|
+
}
|
|
171
|
+
],
|
|
172
|
+
"info": {
|
|
173
|
+
"namespace": "compute",
|
|
174
|
+
"name": "Compute",
|
|
175
|
+
"brief": "Compute API documentation",
|
|
176
|
+
"description": "Functions for interacting with compute programs.",
|
|
177
|
+
"path": "engine/gamesys/src/gamesys/scripts/script_compute.cpp",
|
|
178
|
+
"file": "",
|
|
179
|
+
"notes": [],
|
|
180
|
+
"language": "Lua"
|
|
181
|
+
}
|
|
182
|
+
}
|
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
{
|
|
2
|
+
"elements": [
|
|
3
|
+
{
|
|
4
|
+
"type": "FUNCTION",
|
|
5
|
+
"name": "coroutine.create",
|
|
6
|
+
"brief": "creates a new coroutine thread",
|
|
7
|
+
"description": "Creates a new coroutine, with body f.\nf must be a Lua function.\nReturns this new coroutine,\nan object with type <code>\"thread\"</code>.",
|
|
8
|
+
"returnvalues": [],
|
|
9
|
+
"parameters": [
|
|
10
|
+
{
|
|
11
|
+
"name": "f",
|
|
12
|
+
"doc": "",
|
|
13
|
+
"types": ["function"],
|
|
14
|
+
"is_optional": "False"
|
|
15
|
+
}
|
|
16
|
+
],
|
|
17
|
+
"examples": "",
|
|
18
|
+
"replaces": "",
|
|
19
|
+
"error": "",
|
|
20
|
+
"tparams": [],
|
|
21
|
+
"members": [],
|
|
22
|
+
"notes": [],
|
|
23
|
+
"language": ""
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"type": "FUNCTION",
|
|
27
|
+
"name": "coroutine.resume",
|
|
28
|
+
"brief": "start or resume a thread",
|
|
29
|
+
"description": "Starts or continues the execution of coroutine co.\nThe first time you resume a coroutine,\nit starts running its body.\nThe values val1, ... are passed\nas the arguments to the body function.\nIf the coroutine has yielded,\nresume restarts it;\nthe values val1, ... are passed\nas the results from the yield.\nIf the coroutine runs without any errors,\nresume returns <span class=\"type\"> true</span> plus any values passed to yield\n(if the coroutine yields) or any values returned by the body function\n(if the coroutine terminates).\nIf there is any error,\nresume returns <span class=\"type\"> false</span> plus the error message.",
|
|
30
|
+
"returnvalues": [],
|
|
31
|
+
"parameters": [
|
|
32
|
+
{
|
|
33
|
+
"name": "co",
|
|
34
|
+
"doc": "",
|
|
35
|
+
"types": ["thread"],
|
|
36
|
+
"is_optional": "False"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"name": "val1",
|
|
40
|
+
"doc": "",
|
|
41
|
+
"types": ["any"],
|
|
42
|
+
"is_optional": "True"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"name": "...",
|
|
46
|
+
"doc": "",
|
|
47
|
+
"types": [""],
|
|
48
|
+
"is_optional": "True"
|
|
49
|
+
}
|
|
50
|
+
],
|
|
51
|
+
"examples": "",
|
|
52
|
+
"replaces": "",
|
|
53
|
+
"error": "",
|
|
54
|
+
"tparams": [],
|
|
55
|
+
"members": [],
|
|
56
|
+
"notes": [],
|
|
57
|
+
"language": ""
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"type": "FUNCTION",
|
|
61
|
+
"name": "coroutine.running",
|
|
62
|
+
"brief": "returns the running coroutine",
|
|
63
|
+
"description": "Returns the running coroutine,\nor <span class=\"type\"> nil</span> when called by the main thread.",
|
|
64
|
+
"returnvalues": [],
|
|
65
|
+
"parameters": [],
|
|
66
|
+
"examples": "",
|
|
67
|
+
"replaces": "",
|
|
68
|
+
"error": "",
|
|
69
|
+
"tparams": [],
|
|
70
|
+
"members": [],
|
|
71
|
+
"notes": [],
|
|
72
|
+
"language": ""
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"type": "FUNCTION",
|
|
76
|
+
"name": "coroutine.status",
|
|
77
|
+
"brief": "returns the status of a thread",
|
|
78
|
+
"description": "Returns the status of coroutine co, as a string:\n<code>\"running\"</code>,\nif the coroutine is running (that is, it called status);\n<code>\"suspended\"</code>, if the coroutine is suspended in a call to yield,\nor if it has not started running yet;\n<code>\"normal\"</code> if the coroutine is active but not running\n(that is, it has resumed another coroutine);\nand <code>\"dead\"</code> if the coroutine has finished its body function,\nor if it has stopped with an error.",
|
|
79
|
+
"returnvalues": [],
|
|
80
|
+
"parameters": [
|
|
81
|
+
{
|
|
82
|
+
"name": "co",
|
|
83
|
+
"doc": "",
|
|
84
|
+
"types": ["thread"],
|
|
85
|
+
"is_optional": "False"
|
|
86
|
+
}
|
|
87
|
+
],
|
|
88
|
+
"examples": "",
|
|
89
|
+
"replaces": "",
|
|
90
|
+
"error": "",
|
|
91
|
+
"tparams": [],
|
|
92
|
+
"members": [],
|
|
93
|
+
"notes": [],
|
|
94
|
+
"language": ""
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"type": "FUNCTION",
|
|
98
|
+
"name": "coroutine.wrap",
|
|
99
|
+
"brief": "creates a thread and returns a function to resume it",
|
|
100
|
+
"description": "Creates a new coroutine, with body f.\nf must be a Lua function.\nReturns a function that resumes the coroutine each time it is called.\nAny arguments passed to the function behave as the\nextra arguments to resume.\nReturns the same values returned by resume,\nexcept the first boolean.\nIn case of error, propagates the error.",
|
|
101
|
+
"returnvalues": [],
|
|
102
|
+
"parameters": [
|
|
103
|
+
{
|
|
104
|
+
"name": "f",
|
|
105
|
+
"doc": "",
|
|
106
|
+
"types": ["function"],
|
|
107
|
+
"is_optional": "False"
|
|
108
|
+
}
|
|
109
|
+
],
|
|
110
|
+
"examples": "",
|
|
111
|
+
"replaces": "",
|
|
112
|
+
"error": "",
|
|
113
|
+
"tparams": [],
|
|
114
|
+
"members": [],
|
|
115
|
+
"notes": [],
|
|
116
|
+
"language": ""
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
"type": "FUNCTION",
|
|
120
|
+
"name": "coroutine.yield",
|
|
121
|
+
"brief": "yields execution of thread back to the caller",
|
|
122
|
+
"description": "Suspends the execution of the calling coroutine.\nThe coroutine cannot be running a C function,\na metamethod, or an iterator.\nAny arguments to yield are passed as extra results to resume.",
|
|
123
|
+
"returnvalues": [],
|
|
124
|
+
"parameters": [
|
|
125
|
+
{
|
|
126
|
+
"name": "...",
|
|
127
|
+
"doc": "",
|
|
128
|
+
"types": [""],
|
|
129
|
+
"is_optional": "False"
|
|
130
|
+
}
|
|
131
|
+
],
|
|
132
|
+
"examples": "",
|
|
133
|
+
"replaces": "",
|
|
134
|
+
"error": "",
|
|
135
|
+
"tparams": [],
|
|
136
|
+
"members": [],
|
|
137
|
+
"notes": [],
|
|
138
|
+
"language": ""
|
|
139
|
+
}
|
|
140
|
+
],
|
|
141
|
+
"info": {
|
|
142
|
+
"namespace": "coroutine",
|
|
143
|
+
"name": "Coroutine",
|
|
144
|
+
"brief": "Lua coroutine standard library",
|
|
145
|
+
"description": "Documentation for the Lua coroutine standard library.\n\nFrom [Lua 5.1 Reference Manual](https://www.lua.org/manual/5.1/)\nby Roberto Ierusalimschy, Luiz Henrique de Figueiredo, Waldemar Celes.\n\nCopyright © 2006-2012 Lua.org, PUC-Rio.\n\nFreely available under the terms of the [Lua license](https://www.lua.org/license.html).",
|
|
146
|
+
"path": "engine/lua/src/lua_coroutine.doc_h",
|
|
147
|
+
"file": "",
|
|
148
|
+
"notes": [],
|
|
149
|
+
"language": "Lua"
|
|
150
|
+
}
|
|
151
|
+
}
|