@babylonjs/react-native 2.0.0 → 2.0.1-preview
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/package.json +1 -1
- package/react-native-babylon.podspec +2 -0
- package/shared/BabylonNative/CMakeLists.txt +2 -0
- package/shared/BabylonNative/Repo/CMakeLists.txt +16 -12
- package/shared/BabylonNative/Repo/Core/Graphics/CMakeLists.txt +41 -21
- package/shared/BabylonNative/Repo/Core/Graphics/Include/Platform/iOS/Babylon/Graphics/Platform.h +2 -2
- package/shared/BabylonNative/Repo/Core/Graphics/Include/Platform/macOS/Babylon/Graphics/Platform.h +2 -2
- package/shared/BabylonNative/Repo/Core/Graphics/Include/Platform/visionOS/Babylon/Graphics/Platform.h +2 -2
- package/shared/BabylonNative/Repo/Core/Graphics/Include/RendererType/Metal/Babylon/Graphics/RendererType.h +6 -6
- package/shared/BabylonNative/Repo/Core/Graphics/InternalInclude/Babylon/Graphics/BgfxCallback.h +1 -1
- package/shared/BabylonNative/Repo/Core/Graphics/Source/BgfxCallback.cpp +32 -9
- package/shared/BabylonNative/Repo/Core/Graphics/Source/DeviceImpl.cpp +7 -5
- package/shared/BabylonNative/Repo/Core/Graphics/Source/{DeviceImpl_Metal.cpp → DeviceImpl_Metal.mm} +4 -3
- package/shared/BabylonNative/Repo/Core/Graphics/Source/DeviceImpl_iOS.mm +5 -3
- package/shared/BabylonNative/Repo/Core/Graphics/Source/DeviceImpl_macOS.mm +10 -1
- package/shared/BabylonNative/Repo/Core/Graphics/Source/DeviceImpl_visionOS.mm +2 -4
- package/shared/BabylonNative/Repo/Dependencies/CMakeLists.txt +77 -12
- package/shared/BabylonNative/Repo/Dependencies/xr/CMakeLists.txt +1 -3
- package/shared/BabylonNative/Repo/Plugins/ExternalTexture/CMakeLists.txt +1 -6
- package/shared/BabylonNative/Repo/Plugins/ExternalTexture/Source/ExternalTexture_D3D11.cpp +4 -0
- package/shared/BabylonNative/Repo/Plugins/ExternalTexture/Source/ExternalTexture_D3D12.cpp +4 -0
- package/shared/BabylonNative/Repo/Plugins/ExternalTexture/Source/{ExternalTexture_Metal.mm → ExternalTexture_Metal.cpp} +128 -120
- package/shared/BabylonNative/Repo/Plugins/NativeCamera/CMakeLists.txt +2 -2
- package/shared/BabylonNative/Repo/Plugins/NativeCamera/Source/Apple/CameraDevice.mm +5 -5
- package/shared/BabylonNative/Repo/Plugins/NativeEngine/CMakeLists.txt +2 -1
- package/shared/BabylonNative/Repo/Plugins/NativeEngine/Source/NativeEngine.cpp +2 -1
- package/shared/BabylonNative/Repo/Plugins/NativeEngine/Source/ShaderProvider.cpp +6 -6
- package/shared/BabylonNative/Repo/Plugins/NativeOptimizations/CMakeLists.txt +1 -2
- package/shared/BabylonNative/Repo/Plugins/NativeTracing/CMakeLists.txt +1 -2
- package/shared/BabylonNative/Repo/Plugins/NativeXr/Source/NativeXrImpl.cpp +1 -0
- package/shared/BabylonNative/Repo/Plugins/ShaderCache/CMakeLists.txt +0 -2
- package/shared/BabylonNative/Repo/Plugins/ShaderCache/Include/Babylon/Plugins/ShaderCache.h +2 -2
- package/shared/BabylonNative/Repo/Plugins/ShaderCache/Source/ShaderCache.cpp +2 -2
- package/shared/BabylonNative/Repo/Plugins/ShaderCache/Source/ShaderCacheImpl.cpp +4 -4
- package/shared/BabylonNative/Repo/Plugins/ShaderCache/Source/ShaderCacheImpl.h +2 -2
- package/shared/BabylonNative/Repo/Plugins/ShaderCompiler/Source/ShaderCompilerCommon.cpp +2 -0
- package/shared/BabylonNative/Repo/Plugins/ShaderCompiler/Source/ShaderCompilerTraversers.cpp +4 -0
- package/shared/BabylonNative/Repo/Plugins/TestUtils/CMakeLists.txt +6 -8
- package/shared/BabylonNative/Repo/Plugins/TestUtils/Include/Babylon/Plugins/TestUtils.h +0 -1
- package/shared/BabylonNative/Repo/Plugins/TestUtils/Source/TestUtils.cpp +20 -6
- package/shared/BabylonNative/Repo/Plugins/TestUtils/Source/TestUtils.h +13 -13
- package/shared/BabylonNative/Repo/Plugins/TestUtils/Source/{Android/TestUtilsImpl.cpp → TestUtils_Android.cpp} +1 -10
- package/shared/BabylonNative/Repo/Plugins/TestUtils/Source/{Unix/TestUtilsImpl.cpp → TestUtils_Unix.cpp} +10 -20
- package/shared/BabylonNative/Repo/Plugins/TestUtils/Source/{Win32/TestUtilsImpl.cpp → TestUtils_Win32.cpp} +10 -20
- package/shared/BabylonNative/Repo/Plugins/TestUtils/Source/{WinRT/TestUtilsImpl.cpp → TestUtils_WinRT.cpp} +9 -13
- package/shared/BabylonNative/Repo/Plugins/TestUtils/Source/TestUtils_iOS.mm +25 -0
- package/shared/BabylonNative/Repo/Plugins/TestUtils/Source/TestUtils_macOS.mm +50 -0
- package/shared/BabylonNative/Repo/Polyfills/Canvas/Source/Shaders/dx11/fs_boxblur.h +1 -1
- package/shared/BabylonNative/Repo/Polyfills/Canvas/Source/Shaders/dx11/fs_gaussblur.h +1 -1
- package/shared/BabylonNative/Repo/Polyfills/Canvas/Source/Shaders/dx11/fs_nanovg_fill.h +1 -1
- package/shared/BabylonNative/Repo/Polyfills/Canvas/Source/Shaders/dx11/vs_fspass.h +1 -1
- package/shared/BabylonNative/Repo/Polyfills/Canvas/Source/Shaders/dx11/vs_nanovg_fill.h +1 -1
- package/shared/BabylonNative/Repo/Polyfills/Canvas/shaderc.cmake +2 -2
- package/shared/BabylonNative/Repo/azure-pipelines.yml +36 -24
- package/shared/BabylonNative/deps/arcana.cpp-src/CMakeLists.txt +17 -1
- package/shared/BabylonNative/deps/arcana.cpp-src/README.md +1 -1
- package/shared/BabylonNative/deps/arcana.cpp-src/Source/Shared/arcana/string.h +0 -12
- package/shared/BabylonNative/deps/arcana.cpp-src/Source/Shared/arcana/threading/cancellation.h +25 -12
- package/shared/BabylonNative/deps/arcana.cpp-src/Source/Windows.Test/Threading/CancellationMemoryLeakTest.cpp +37 -0
- package/shared/BabylonNative/deps/bgfx.cmake-src/CMakeLists.txt +3 -3
- package/shared/BabylonNative/deps/bgfx.cmake-src/README.md +5 -5
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/LICENSE +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/README.md +31 -14
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/args.h +5 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/aviwriter.h +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/bgfx_utils.cpp +4 -3
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/bgfx_utils.h +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/common.h +43 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/common.sh +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/debugdraw/debugdraw.cpp +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/debugdraw/debugdraw.h +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/debugdraw/fs_debugdraw_fill.bin.h +180 -29
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/debugdraw/fs_debugdraw_fill.sc +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/debugdraw/fs_debugdraw_fill_lit.bin.h +305 -92
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/debugdraw/fs_debugdraw_fill_lit.sc +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/debugdraw/fs_debugdraw_fill_texture.bin.h +328 -26
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/debugdraw/fs_debugdraw_fill_texture.sc +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/debugdraw/fs_debugdraw_lines.bin.h +227 -13
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/debugdraw/fs_debugdraw_lines.sc +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/debugdraw/fs_debugdraw_lines_stipple.bin.h +290 -38
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/debugdraw/fs_debugdraw_lines_stipple.sc +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/debugdraw/makefile +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/debugdraw/vs_debugdraw_fill.bin.h +319 -95
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/debugdraw/vs_debugdraw_fill.sc +2 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/debugdraw/vs_debugdraw_fill_lit.bin.h +410 -133
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/debugdraw/vs_debugdraw_fill_lit.sc +2 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/debugdraw/vs_debugdraw_fill_lit_mesh.bin.h +378 -120
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/debugdraw/vs_debugdraw_fill_lit_mesh.sc +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/debugdraw/vs_debugdraw_fill_mesh.bin.h +290 -85
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/debugdraw/vs_debugdraw_fill_mesh.sc +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/debugdraw/vs_debugdraw_fill_texture.bin.h +259 -18
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/debugdraw/vs_debugdraw_fill_texture.sc +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/debugdraw/vs_debugdraw_lines.bin.h +228 -14
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/debugdraw/vs_debugdraw_lines.sc +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/debugdraw/vs_debugdraw_lines_stipple.bin.h +255 -16
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/debugdraw/vs_debugdraw_lines_stipple.sc +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/entry/cmd.cpp +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/entry/cmd.h +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/entry/dbg.h +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/entry/dialog.cpp +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/entry/dialog.h +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/entry/entry.cpp +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/entry/entry.h +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/entry/entry_android.cpp +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/entry/entry_glfw.cpp +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/entry/entry_html5.cpp +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/entry/entry_ios.mm +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/entry/entry_noop.cpp +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/entry/entry_osx.mm +2 -2
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/entry/entry_p.h +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/entry/entry_sdl.cpp +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/entry/entry_windows.cpp +3 -3
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/entry/entry_x11.cpp +2 -2
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/entry/input.cpp +2 -2
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/entry/input.h +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/example-glue.cpp +21 -9
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/font/fs_font_basic.bin.h +391 -75
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/font/fs_font_distance_field.bin.h +382 -119
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/font/fs_font_distance_field_drop_shadow.bin.h +587 -227
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/font/fs_font_distance_field_drop_shadow_image.bin.h +655 -265
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/font/fs_font_distance_field_outline.bin.h +452 -164
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/font/fs_font_distance_field_outline_drop_shadow_image.bin.h +719 -307
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/font/fs_font_distance_field_outline_image.bin.h +535 -208
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/font/fs_font_distance_field_subpixel.bin.h +495 -125
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/font/makefile +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/font/vs_font_basic.bin.h +254 -16
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/font/vs_font_distance_field.bin.h +254 -16
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/font/vs_font_distance_field_drop_shadow.bin.h +340 -15
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/font/vs_font_distance_field_drop_shadow_image.bin.h +340 -15
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/font/vs_font_distance_field_outline.bin.h +310 -15
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/font/vs_font_distance_field_outline_drop_shadow_image.bin.h +340 -15
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/font/vs_font_distance_field_outline_image.bin.h +310 -15
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/font/vs_font_distance_field_subpixel.bin.h +254 -16
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/imgui/fs_imgui_image.bin.h +277 -59
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/imgui/fs_ocornut_imgui.bin.h +324 -25
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/imgui/imgui.cpp +9 -9
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/imgui/imgui.h +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/imgui/makefile +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/imgui/vs_imgui_image.bin.h +219 -15
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/imgui/vs_ocornut_imgui.bin.h +239 -7
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/nanovg/fs_nanovg_fill.bin.h +925 -472
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/nanovg/makefile +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/nanovg/nanovg_bgfx.cpp +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/nanovg/nanovg_bgfx.h +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/nanovg/vs_nanovg_fill.bin.h +223 -7
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/packrect.h +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/ps/fs_particle.bin.h +382 -70
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/ps/fs_particle.sc +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/ps/makefile +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/ps/particle_system.cpp +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/ps/particle_system.h +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/ps/vs_particle.bin.h +263 -18
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/ps/vs_particle.sc +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/shaderlib.sh +10 -7
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/include/bgfx/bgfx.h +149 -7
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/include/bgfx/c99/bgfx.h +225 -101
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/include/bgfx/defines.h +30 -21
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/include/bgfx/embedded_shader.h +110 -60
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/include/bgfx/platform.h +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/makefile +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/scripts/bgfx.idl +189 -70
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/scripts/bgfx.lua +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/scripts/bindings-bf.lua +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/scripts/bindings-c3.lua +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/scripts/bindings-cs.lua +2 -2
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/scripts/bindings-zig.lua +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/scripts/example-common.lua +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/scripts/genie.lua +3 -3
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/scripts/geometryc.lua +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/scripts/geometryv.lua +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/scripts/shader-embeded.mk +18 -4
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/scripts/shader.mk +21 -6
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/scripts/shaderc.lua +139 -2
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/scripts/temp.bgfx.h +2 -2
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/scripts/temp.bgfx.hpp +2 -0
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/scripts/temp.bgfx.idl.inl +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/scripts/temp.defines.h +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/scripts/texturec.lua +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/scripts/texturev.lua +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/scripts/tools.mk +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/amalgamated.cpp +2 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/amalgamated.mm +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/bgfx.cpp +406 -164
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/bgfx.idl.inl +37 -9
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/bgfx_compute.sh +40 -43
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/bgfx_p.h +795 -170
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/bgfx_shader.sh +205 -73
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/charset.h +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/config.h +18 -4
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/debug_renderdoc.cpp +8 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/debug_renderdoc.h +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/dxgi.cpp +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/dxgi.h +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/emscripten.h +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/fs_clear0.bin.h +190 -36
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/fs_clear0.sc +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/fs_clear1.bin.h +223 -46
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/fs_clear1.sc +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/fs_clear2.bin.h +253 -55
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/fs_clear2.sc +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/fs_clear3.bin.h +283 -65
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/fs_clear3.sc +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/fs_clear4.bin.h +314 -75
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/fs_clear4.sc +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/fs_clear5.bin.h +343 -85
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/fs_clear5.sc +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/fs_clear6.bin.h +373 -94
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/fs_clear6.sc +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/fs_clear7.bin.h +404 -105
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/fs_clear7.sc +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/fs_debugfont.bin.h +401 -67
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/fs_debugfont.sc +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/glcontext_egl.cpp +114 -36
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/glcontext_egl.h +5 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/glcontext_html5.cpp +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/glcontext_html5.h +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/glcontext_wgl.cpp +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/glcontext_wgl.h +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/glimports.h +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/makefile +17 -13
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/nvapi.cpp +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/nvapi.h +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/renderer.h +50 -29
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/renderer_agc.cpp +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/renderer_d3d.h +7 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/renderer_d3d11.cpp +291 -180
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/renderer_d3d11.h +5 -2
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/renderer_d3d12.cpp +635 -218
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/renderer_d3d12.h +78 -10
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/renderer_gl.cpp +65 -45
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/renderer_gl.h +24 -3
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/renderer_gnm.cpp +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/renderer_mtl.h +50 -24
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/renderer_mtl.mm +158 -56
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/renderer_noop.cpp +8 -12
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/renderer_nvn.cpp +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/renderer_vk.cpp +810 -445
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/renderer_vk.h +194 -133
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/renderer_webgpu.cpp +6239 -0
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/renderer_webgpu.h +897 -0
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/shader.cpp +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/shader.h +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/shader_dxbc.cpp +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/shader_dxbc.h +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/shader_spirv.cpp +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/shader_spirv.h +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/topology.cpp +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/topology.h +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/version.h +3 -3
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/vertexlayout.cpp +2 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/vertexlayout.h +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/vs_clear.bin.h +186 -24
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/vs_clear.sc +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/vs_debugfont.bin.h +314 -44
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/vs_debugfont.sc +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bimg/3rdparty/nvtt/bc7/avpcl_mode4.cpp +2 -0
- package/shared/BabylonNative/deps/bgfx.cmake-src/bimg/3rdparty/nvtt/nvcore/debug.h +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bimg/3rdparty/nvtt/nvtt.cpp +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bimg/LICENSE +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bimg/README.md +2 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bimg/include/bimg/bimg.h +5 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bimg/include/bimg/decode.h +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bimg/include/bimg/encode.h +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bimg/makefile +183 -0
- package/shared/BabylonNative/deps/bgfx.cmake-src/bimg/scripts/bimg.lua +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bimg/scripts/bimg_decode.lua +2 -2
- package/shared/BabylonNative/deps/bgfx.cmake-src/bimg/scripts/bimg_encode.lua +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bimg/scripts/genie.lua +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bimg/scripts/texturec.lua +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bimg/src/bimg_p.h +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bimg/src/config.h +52 -40
- package/shared/BabylonNative/deps/bgfx.cmake-src/bimg/src/image.cpp +136 -120
- package/shared/BabylonNative/deps/bgfx.cmake-src/bimg/src/image_cubemap_filter.cpp +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bimg/src/image_decode.cpp +17 -5
- package/shared/BabylonNative/deps/bgfx.cmake-src/bimg/src/image_encode.cpp +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bimg/src/image_gnf.cpp +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bimg/tools/texturec/texturec.cpp +3 -3
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/LICENSE +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/README.md +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/allocator.h +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/bounds.h +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/bx.h +43 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/commandline.h +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/config.h +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/constants.h +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/cpu.h +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/debug.h +15 -5
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/easing.h +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/endian.h +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/error.h +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/file.h +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/filepath.h +5 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/float4x4_t.h +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/handlealloc.h +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/hash.h +31 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/inline/allocator.inl +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/inline/bounds.inl +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/inline/bx.inl +141 -3
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/inline/cpu.inl +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/inline/easing.inl +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/inline/endian.inl +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/inline/error.inl +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/inline/float4x4_t.inl +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/inline/handlealloc.inl +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/inline/hash.inl +28 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/inline/math.inl +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/inline/mpscqueue.inl +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/inline/mutex.inl +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/inline/os.inl +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/inline/pixelformat.inl +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/inline/readerwriter.inl +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/inline/ringbuffer.inl +76 -8
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/inline/rng.inl +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/inline/simd128_langext.inl +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/inline/simd128_neon.inl +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/inline/simd128_ref.inl +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/inline/simd128_sse.inl +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/inline/simd256_avx.inl +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/inline/simd256_ref.inl +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/inline/simd_ni.inl +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/inline/sort.inl +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/inline/spscqueue.inl +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/inline/string.inl +237 -48
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/inline/timer.inl +67 -0
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/inline/typetraits.inl +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/inline/uint32_t.inl +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/macros.h +6 -6
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/math.h +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/mpscqueue.h +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/mutex.h +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/os.h +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/pixelformat.h +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/platform.h +3 -3
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/process.h +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/readerwriter.h +9 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/ringbuffer.h +145 -14
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/rng.h +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/semaphore.h +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/settings.h +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/simd_t.h +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/sort.h +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/spscqueue.h +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/string.h +111 -42
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/thread.h +5 -5
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/timer.h +59 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/typetraits.h +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/uint32_t.h +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/url.h +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/scripts/bin2c.lua +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/scripts/bx.lua +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/scripts/genie.lua +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/scripts/toolchain.lua +36 -18
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/src/allocator.cpp +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/src/amalgamated.cpp +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/src/bounds.cpp +10 -10
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/src/bx.cpp +3 -3
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/src/commandline.cpp +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/src/crtnone.cpp +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/src/debug.cpp +866 -64
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/src/dtoa.cpp +3 -9
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/src/easing.cpp +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/src/file.cpp +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/src/filepath.cpp +7 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/src/hash.cpp +195 -37
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/src/math.cpp +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/src/mutex.cpp +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/src/os.cpp +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/src/process.cpp +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/src/semaphore.cpp +27 -6
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/src/settings.cpp +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/src/sort.cpp +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/src/string.cpp +206 -49
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/src/thread.cpp +35 -38
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/src/timer.cpp +5 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/src/url.cpp +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/tests/allocator_test.cpp +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/tests/atomic_test.cpp +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/tests/cast_test.cpp +99 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/tests/crt_test.cpp +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/tests/dbg.h +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/tests/easing_test.cpp +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/tests/filepath_test.cpp +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/tests/handle_bench.cpp +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/tests/handle_test.cpp +6 -6
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/tests/hash_test.cpp +37 -8
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/tests/macros_test.cpp +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/tests/main_test.cpp +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/tests/math_bench.cpp +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/tests/math_test.cpp +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/tests/os_test.cpp +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/tests/pixelformat_test.cpp +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/tests/queue_test.cpp +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/tests/readerwriter_test.cpp +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/tests/ringbuffer_test.cpp +112 -7
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/tests/rng_test.cpp +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/tests/run_test.cpp +6 -4
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/tests/settings_test.cpp +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/tests/simd_bench.cpp +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/tests/simd_test.cpp +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/tests/sort_test.cpp +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/tests/string_test.cpp +92 -39
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/tests/test.h +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/tests/thread_test.cpp +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/tests/tokenizecmd_test.cpp +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/tests/typetraits_test.cpp +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/tests/uint32_test.cpp +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/tests/url_test.cpp +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/tests/vsnprintf_test.cpp +365 -77
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/tools/bin/darwin/genie +0 -0
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/tools/bin/linux/genie +0 -0
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/tools/bin/windows/genie.exe +0 -0
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/tools/bin2c/bin2c.cpp +2 -2
- package/shared/BabylonNative/deps/bgfx.cmake-src/cmake/bgfx/3rdparty/glslang.cmake +6 -5
- package/shared/BabylonNative/deps/bgfx.cmake-src/cmake/bgfx/3rdparty/spirv-opt.cmake +5 -0
- package/shared/BabylonNative/deps/bgfx.cmake-src/cmake/bgfx/3rdparty/tint.cmake +98 -0
- package/shared/BabylonNative/deps/bgfx.cmake-src/cmake/bgfx/CMakeLists.txt +1 -0
- package/shared/BabylonNative/deps/bgfx.cmake-src/cmake/bgfx/bgfx.cmake +11 -9
- package/shared/BabylonNative/deps/bgfx.cmake-src/cmake/bgfx/examples.cmake +16 -4
- package/shared/BabylonNative/deps/bgfx.cmake-src/cmake/bgfx/shaderc.cmake +21 -10
- package/shared/BabylonNative/deps/bgfx.cmake-src/cmake/bx/bx.cmake +5 -0
- package/shared/BabylonNative/deps/cmakeextensions-src/CMakeLists.txt +31 -5
- package/shared/BabylonNative/deps/cmakeextensions-src/README.md +6 -1
- package/shared/BabylonNative/deps/jsruntimehost-src/CMakeLists.txt +6 -5
- package/shared/BabylonNative/deps/jsruntimehost-src/Core/Node-API/Source/js_native_api_javascriptcore.cc +58 -4
- package/shared/BabylonNative/deps/jsruntimehost-src/Polyfills/CMakeLists.txt +4 -0
- package/shared/BabylonNative/deps/jsruntimehost-src/Polyfills/TextDecoder/CMakeLists.txt +15 -0
- package/shared/BabylonNative/deps/jsruntimehost-src/Polyfills/TextDecoder/Include/Babylon/Polyfills/TextDecoder.h +9 -0
- package/shared/BabylonNative/deps/jsruntimehost-src/Polyfills/TextDecoder/README.md +39 -0
- package/shared/BabylonNative/deps/jsruntimehost-src/Polyfills/TextDecoder/Source/TextDecoder.cpp +91 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Foundation/Foundation.hpp +47 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Foundation/NSArray.hpp +124 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Foundation/NSAutoreleasePool.hpp +83 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Foundation/NSBundle.hpp +374 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Foundation/NSData.hpp +54 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Foundation/NSDate.hpp +53 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Foundation/NSDefines.hpp +45 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Foundation/NSDictionary.hpp +128 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Foundation/NSEnumerator.hpp +78 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Foundation/NSError.hpp +173 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Foundation/NSLock.hpp +118 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Foundation/NSNotification.hpp +110 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Foundation/NSNumber.hpp +501 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Foundation/NSObjCRuntime.hpp +43 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Foundation/NSObject.hpp +302 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Foundation/NSPrivate.hpp +531 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Foundation/NSProcessInfo.hpp +386 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Foundation/NSRange.hpp +83 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Foundation/NSSet.hpp +87 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Foundation/NSSharedPtr.hpp +310 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Foundation/NSString.hpp +255 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Foundation/NSTypes.hpp +51 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Foundation/NSURL.hpp +90 -0
- package/shared/BabylonNative/deps/metal-cpp-src/LICENSE.txt +202 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTL4AccelerationStructure.hpp +1395 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTL4Archive.hpp +93 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTL4ArgumentTable.hpp +187 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTL4BinaryFunction.hpp +50 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTL4BinaryFunctionDescriptor.hpp +97 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTL4CommandAllocator.hpp +100 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTL4CommandBuffer.hpp +193 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTL4CommandEncoder.hpp +134 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTL4CommandQueue.hpp +283 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTL4CommitFeedback.hpp +62 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTL4Compiler.hpp +345 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTL4CompilerTask.hpp +63 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTL4ComputeCommandEncoder.hpp +300 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTL4ComputePipeline.hpp +158 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTL4Counters.hpp +138 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTL4FunctionDescriptor.hpp +49 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTL4LibraryDescriptor.hpp +98 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTL4LibraryFunctionDescriptor.hpp +86 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTL4LinkingDescriptor.hpp +204 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTL4MachineLearningCommandEncoder.hpp +66 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTL4MachineLearningPipeline.hpp +172 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTL4MeshRenderPipeline.hpp +413 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTL4PipelineDataSetSerializer.hpp +85 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTL4PipelineState.hpp +150 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTL4RenderCommandEncoder.hpp +340 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTL4RenderPass.hpp +280 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTL4RenderPipeline.hpp +587 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTL4SpecializedFunctionDescriptor.hpp +100 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTL4StitchedFunctionDescriptor.hpp +86 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTL4TileRenderPipeline.hpp +173 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLAccelerationStructure.hpp +1887 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLAccelerationStructureCommandEncoder.hpp +260 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLAccelerationStructureTypes.hpp +292 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLAllocation.hpp +40 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLArgument.hpp +787 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLArgumentEncoder.hpp +235 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLBinaryArchive.hpp +152 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLBlitCommandEncoder.hpp +226 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLBlitPass.hpp +154 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLBuffer.hpp +119 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLCaptureManager.hpp +217 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLCaptureScope.hpp +91 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLCommandBuffer.hpp +464 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLCommandEncoder.hpp +117 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLCommandQueue.hpp +158 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLComputeCommandEncoder.hpp +324 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLComputePass.hpp +169 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLComputePipeline.hpp +439 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLCounters.hpp +243 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLDataType.hpp +129 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLDefines.hpp +41 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLDepthStencil.hpp +277 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLDevice.hpp +1493 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLDrawable.hpp +90 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLDynamicLibrary.hpp +78 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLEvent.hpp +170 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLFence.hpp +55 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLFunctionConstantValues.hpp +76 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLFunctionDescriptor.hpp +153 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLFunctionHandle.hpp +65 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLFunctionLog.hpp +101 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLFunctionStitching.hpp +319 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLGPUAddress.hpp +36 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLHeaderBridge.hpp +3120 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLHeap.hpp +318 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLIOCommandBuffer.hpp +182 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLIOCommandQueue.hpp +211 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLIOCompressor.hpp +94 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLIndirectCommandBuffer.hpp +376 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLIndirectCommandEncoder.hpp +272 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLIntersectionFunctionTable.hpp +173 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLLibrary.hpp +786 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLLinkedFunctions.hpp +110 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLLogState.hpp +111 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLParallelRenderCommandEncoder.hpp +83 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLPipeline.hpp +104 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLPixelFormat.hpp +173 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLPrivate.hpp +156 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLRasterizationRate.hpp +337 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLRenderCommandEncoder.hpp +1019 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLRenderPass.hpp +792 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLRenderPipeline.hpp +1876 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLResidencySet.hpp +178 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLResource.hpp +190 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLResourceStateCommandEncoder.hpp +98 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLResourceStatePass.hpp +154 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLResourceViewPool.hpp +118 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLSampler.hpp +345 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLStageInputOutputDescriptor.hpp +356 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLTensor.hpp +297 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLTexture.hpp +803 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLTextureViewPool.hpp +59 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLTypes.hpp +164 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLVersion.hpp +32 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLVertexDescriptor.hpp +326 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLVisibleFunctionTable.hpp +96 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/Metal.hpp +120 -0
- package/shared/BabylonNative/deps/metal-cpp-src/MetalFX/MTL4FXFrameInterpolator.hpp +47 -0
- package/shared/BabylonNative/deps/metal-cpp-src/MetalFX/MTL4FXSpatialScaler.hpp +49 -0
- package/shared/BabylonNative/deps/metal-cpp-src/MetalFX/MTL4FXTemporalDenoisedScaler.hpp +49 -0
- package/shared/BabylonNative/deps/metal-cpp-src/MetalFX/MTL4FXTemporalScaler.hpp +49 -0
- package/shared/BabylonNative/deps/metal-cpp-src/MetalFX/MTLFXDefines.hpp +41 -0
- package/shared/BabylonNative/deps/metal-cpp-src/MetalFX/MTLFXFrameInterpolator.hpp +719 -0
- package/shared/BabylonNative/deps/metal-cpp-src/MetalFX/MTLFXPrivate.hpp +482 -0
- package/shared/BabylonNative/deps/metal-cpp-src/MetalFX/MTLFXSpatialScaler.hpp +397 -0
- package/shared/BabylonNative/deps/metal-cpp-src/MetalFX/MTLFXTemporalDenoisedScaler.hpp +1208 -0
- package/shared/BabylonNative/deps/metal-cpp-src/MetalFX/MTLFXTemporalScaler.hpp +803 -0
- package/shared/BabylonNative/deps/metal-cpp-src/MetalFX/MetalFX.hpp +35 -0
- package/shared/BabylonNative/deps/metal-cpp-src/QuartzCore/CADefines.hpp +41 -0
- package/shared/BabylonNative/deps/metal-cpp-src/QuartzCore/CAMetalDrawable.hpp +57 -0
- package/shared/BabylonNative/deps/metal-cpp-src/QuartzCore/CAMetalLayer.hpp +216 -0
- package/shared/BabylonNative/deps/metal-cpp-src/QuartzCore/CAPrivate.hpp +150 -0
- package/shared/BabylonNative/deps/metal-cpp-src/QuartzCore/QuartzCore.hpp +28 -0
- package/shared/BabylonNative/deps/metal-cpp-src/README.md +313 -0
- package/shared/BabylonNative/deps/metal-cpp-src/SingleHeader/MakeSingleHeader.py +271 -0
- package/shared/BabylonNative/deps/metal-cpp-src/SingleHeader/Metal.hpp +28735 -0
- package/shared/BabylonNative/deps/spirv-cross-src/spirv_hlsl.cpp +173 -222
- package/shared/BabylonNative/deps/urllib-src/CMakeLists.txt +6 -7
- package/shared/BabylonNative/deps/urllib-src/Source/UrlRequest_Unix.cpp +1 -1
- package/shared/BabylonNative.cpp +4 -0
- package/shared/BabylonNative/Repo/Plugins/TestUtils/Source/Apple/TestUtilsImpl.mm +0 -57
- package/shared/BabylonNative/Repo/Plugins/TestUtils/Source/TestUtilsImplData.h +0 -18
- package/shared/BabylonNative/deps/arcana.cpp-src/Source/Android/Arcana.Android.vcxproj +0 -186
- package/shared/BabylonNative/deps/arcana.cpp-src/Source/Shared/Arcana.vcxitems +0 -47
- package/shared/BabylonNative/deps/arcana.cpp-src/Source/Windows/Arcana.Windows.Reference.vcxitems +0 -30
- package/shared/BabylonNative/deps/arcana.cpp-src/Source/Windows/Arcana.Windows.vcxproj +0 -218
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/bounds.cpp +0 -2178
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/bounds.h +0 -448
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/imgui/fs_imgui_color.bin.h +0 -100
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/imgui/fs_imgui_color.sc +0 -13
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/imgui/fs_imgui_cubemap.bin.h +0 -223
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/imgui/fs_imgui_cubemap.sc +0 -21
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/imgui/fs_imgui_image_swizz.bin.h +0 -256
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/imgui/fs_imgui_image_swizz.sc +0 -22
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/imgui/fs_imgui_latlong.bin.h +0 -308
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/imgui/fs_imgui_latlong.sc +0 -38
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/imgui/fs_imgui_texture.bin.h +0 -180
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/imgui/fs_imgui_texture.sc +0 -16
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/imgui/vs_imgui_color.bin.h +0 -195
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/imgui/vs_imgui_color.sc +0 -15
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/imgui/vs_imgui_cubemap.bin.h +0 -203
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/imgui/vs_imgui_cubemap.sc +0 -15
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/imgui/vs_imgui_latlong.bin.h +0 -205
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/imgui/vs_imgui_latlong.sc +0 -15
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/imgui/vs_imgui_texture.bin.h +0 -233
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/imgui/vs_imgui_texture.sc +0 -16
|
@@ -0,0 +1,1876 @@
|
|
|
1
|
+
//-------------------------------------------------------------------------------------------------------------------------------------------------------------
|
|
2
|
+
//
|
|
3
|
+
// Metal/MTLRenderPipeline.hpp
|
|
4
|
+
//
|
|
5
|
+
// Copyright 2020-2025 Apple Inc.
|
|
6
|
+
//
|
|
7
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
8
|
+
// you may not use this file except in compliance with the License.
|
|
9
|
+
// You may obtain a copy of the License at
|
|
10
|
+
//
|
|
11
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
|
12
|
+
//
|
|
13
|
+
// Unless required by applicable law or agreed to in writing, software
|
|
14
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
15
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
16
|
+
// See the License for the specific language governing permissions and
|
|
17
|
+
// limitations under the License.
|
|
18
|
+
//
|
|
19
|
+
//-------------------------------------------------------------------------------------------------------------------------------------------------------------
|
|
20
|
+
|
|
21
|
+
#pragma once
|
|
22
|
+
|
|
23
|
+
#include "../Foundation/Foundation.hpp"
|
|
24
|
+
#include "MTLAllocation.hpp"
|
|
25
|
+
#include "MTLDefines.hpp"
|
|
26
|
+
#include "MTLHeaderBridge.hpp"
|
|
27
|
+
#include "MTLPipeline.hpp"
|
|
28
|
+
#include "MTLPixelFormat.hpp"
|
|
29
|
+
#include "MTLPrivate.hpp"
|
|
30
|
+
#include "MTLRenderCommandEncoder.hpp"
|
|
31
|
+
#include "MTLTypes.hpp"
|
|
32
|
+
|
|
33
|
+
namespace MTL
|
|
34
|
+
{
|
|
35
|
+
class Device;
|
|
36
|
+
class Function;
|
|
37
|
+
class FunctionHandle;
|
|
38
|
+
class IntersectionFunctionTable;
|
|
39
|
+
class IntersectionFunctionTableDescriptor;
|
|
40
|
+
class LinkedFunctions;
|
|
41
|
+
class LogicalToPhysicalColorAttachmentMap;
|
|
42
|
+
class MeshRenderPipelineDescriptor;
|
|
43
|
+
class PipelineBufferDescriptorArray;
|
|
44
|
+
class RenderPipelineColorAttachmentDescriptor;
|
|
45
|
+
class RenderPipelineColorAttachmentDescriptorArray;
|
|
46
|
+
class RenderPipelineDescriptor;
|
|
47
|
+
class RenderPipelineFunctionsDescriptor;
|
|
48
|
+
class RenderPipelineReflection;
|
|
49
|
+
class RenderPipelineState;
|
|
50
|
+
class TileRenderPipelineColorAttachmentDescriptor;
|
|
51
|
+
class TileRenderPipelineColorAttachmentDescriptorArray;
|
|
52
|
+
class TileRenderPipelineDescriptor;
|
|
53
|
+
class VertexDescriptor;
|
|
54
|
+
class VisibleFunctionTable;
|
|
55
|
+
class VisibleFunctionTableDescriptor;
|
|
56
|
+
|
|
57
|
+
}
|
|
58
|
+
namespace MTL4
|
|
59
|
+
{
|
|
60
|
+
class BinaryFunction;
|
|
61
|
+
class PipelineDescriptor;
|
|
62
|
+
class RenderPipelineBinaryFunctionsDescriptor;
|
|
63
|
+
|
|
64
|
+
}
|
|
65
|
+
namespace MTL
|
|
66
|
+
{
|
|
67
|
+
_MTL_ENUM(NS::UInteger, BlendFactor) {
|
|
68
|
+
BlendFactorZero = 0,
|
|
69
|
+
BlendFactorOne = 1,
|
|
70
|
+
BlendFactorSourceColor = 2,
|
|
71
|
+
BlendFactorOneMinusSourceColor = 3,
|
|
72
|
+
BlendFactorSourceAlpha = 4,
|
|
73
|
+
BlendFactorOneMinusSourceAlpha = 5,
|
|
74
|
+
BlendFactorDestinationColor = 6,
|
|
75
|
+
BlendFactorOneMinusDestinationColor = 7,
|
|
76
|
+
BlendFactorDestinationAlpha = 8,
|
|
77
|
+
BlendFactorOneMinusDestinationAlpha = 9,
|
|
78
|
+
BlendFactorSourceAlphaSaturated = 10,
|
|
79
|
+
BlendFactorBlendColor = 11,
|
|
80
|
+
BlendFactorOneMinusBlendColor = 12,
|
|
81
|
+
BlendFactorBlendAlpha = 13,
|
|
82
|
+
BlendFactorOneMinusBlendAlpha = 14,
|
|
83
|
+
BlendFactorSource1Color = 15,
|
|
84
|
+
BlendFactorOneMinusSource1Color = 16,
|
|
85
|
+
BlendFactorSource1Alpha = 17,
|
|
86
|
+
BlendFactorOneMinusSource1Alpha = 18,
|
|
87
|
+
BlendFactorUnspecialized = 19,
|
|
88
|
+
};
|
|
89
|
+
|
|
90
|
+
_MTL_ENUM(NS::UInteger, BlendOperation) {
|
|
91
|
+
BlendOperationAdd = 0,
|
|
92
|
+
BlendOperationSubtract = 1,
|
|
93
|
+
BlendOperationReverseSubtract = 2,
|
|
94
|
+
BlendOperationMin = 3,
|
|
95
|
+
BlendOperationMax = 4,
|
|
96
|
+
BlendOperationUnspecialized = 5,
|
|
97
|
+
};
|
|
98
|
+
|
|
99
|
+
_MTL_ENUM(NS::UInteger, PrimitiveTopologyClass) {
|
|
100
|
+
PrimitiveTopologyClassUnspecified = 0,
|
|
101
|
+
PrimitiveTopologyClassPoint = 1,
|
|
102
|
+
PrimitiveTopologyClassLine = 2,
|
|
103
|
+
PrimitiveTopologyClassTriangle = 3,
|
|
104
|
+
};
|
|
105
|
+
|
|
106
|
+
_MTL_ENUM(NS::UInteger, TessellationPartitionMode) {
|
|
107
|
+
TessellationPartitionModePow2 = 0,
|
|
108
|
+
TessellationPartitionModeInteger = 1,
|
|
109
|
+
TessellationPartitionModeFractionalOdd = 2,
|
|
110
|
+
TessellationPartitionModeFractionalEven = 3,
|
|
111
|
+
};
|
|
112
|
+
|
|
113
|
+
_MTL_ENUM(NS::UInteger, TessellationFactorStepFunction) {
|
|
114
|
+
TessellationFactorStepFunctionConstant = 0,
|
|
115
|
+
TessellationFactorStepFunctionPerPatch = 1,
|
|
116
|
+
TessellationFactorStepFunctionPerInstance = 2,
|
|
117
|
+
TessellationFactorStepFunctionPerPatchAndPerInstance = 3,
|
|
118
|
+
};
|
|
119
|
+
|
|
120
|
+
_MTL_ENUM(NS::UInteger, TessellationFactorFormat) {
|
|
121
|
+
TessellationFactorFormatHalf = 0,
|
|
122
|
+
};
|
|
123
|
+
|
|
124
|
+
_MTL_ENUM(NS::UInteger, TessellationControlPointIndexType) {
|
|
125
|
+
TessellationControlPointIndexTypeNone = 0,
|
|
126
|
+
TessellationControlPointIndexTypeUInt16 = 1,
|
|
127
|
+
TessellationControlPointIndexTypeUInt32 = 2,
|
|
128
|
+
};
|
|
129
|
+
|
|
130
|
+
_MTL_OPTIONS(NS::UInteger, ColorWriteMask) {
|
|
131
|
+
ColorWriteMaskNone = 0,
|
|
132
|
+
ColorWriteMaskRed = 1 << 3,
|
|
133
|
+
ColorWriteMaskGreen = 1 << 2,
|
|
134
|
+
ColorWriteMaskBlue = 1 << 1,
|
|
135
|
+
ColorWriteMaskAlpha = 1,
|
|
136
|
+
ColorWriteMaskAll = 15,
|
|
137
|
+
ColorWriteMaskUnspecialized = 1 << 4,
|
|
138
|
+
};
|
|
139
|
+
|
|
140
|
+
class RenderPipelineColorAttachmentDescriptor : public NS::Copying<RenderPipelineColorAttachmentDescriptor>
|
|
141
|
+
{
|
|
142
|
+
public:
|
|
143
|
+
static RenderPipelineColorAttachmentDescriptor* alloc();
|
|
144
|
+
|
|
145
|
+
BlendOperation alphaBlendOperation() const;
|
|
146
|
+
|
|
147
|
+
[[deprecated("please use isBlendingEnabled instead")]]
|
|
148
|
+
bool blendingEnabled() const;
|
|
149
|
+
|
|
150
|
+
BlendFactor destinationAlphaBlendFactor() const;
|
|
151
|
+
|
|
152
|
+
BlendFactor destinationRGBBlendFactor() const;
|
|
153
|
+
|
|
154
|
+
RenderPipelineColorAttachmentDescriptor* init();
|
|
155
|
+
|
|
156
|
+
bool isBlendingEnabled() const;
|
|
157
|
+
|
|
158
|
+
PixelFormat pixelFormat() const;
|
|
159
|
+
|
|
160
|
+
BlendOperation rgbBlendOperation() const;
|
|
161
|
+
|
|
162
|
+
void setAlphaBlendOperation(MTL::BlendOperation alphaBlendOperation);
|
|
163
|
+
|
|
164
|
+
void setBlendingEnabled(bool blendingEnabled);
|
|
165
|
+
|
|
166
|
+
void setDestinationAlphaBlendFactor(MTL::BlendFactor destinationAlphaBlendFactor);
|
|
167
|
+
|
|
168
|
+
void setDestinationRGBBlendFactor(MTL::BlendFactor destinationRGBBlendFactor);
|
|
169
|
+
|
|
170
|
+
void setPixelFormat(MTL::PixelFormat pixelFormat);
|
|
171
|
+
|
|
172
|
+
void setRgbBlendOperation(MTL::BlendOperation rgbBlendOperation);
|
|
173
|
+
|
|
174
|
+
void setSourceAlphaBlendFactor(MTL::BlendFactor sourceAlphaBlendFactor);
|
|
175
|
+
|
|
176
|
+
void setSourceRGBBlendFactor(MTL::BlendFactor sourceRGBBlendFactor);
|
|
177
|
+
|
|
178
|
+
void setWriteMask(MTL::ColorWriteMask writeMask);
|
|
179
|
+
|
|
180
|
+
BlendFactor sourceAlphaBlendFactor() const;
|
|
181
|
+
|
|
182
|
+
BlendFactor sourceRGBBlendFactor() const;
|
|
183
|
+
|
|
184
|
+
ColorWriteMask writeMask() const;
|
|
185
|
+
};
|
|
186
|
+
class LogicalToPhysicalColorAttachmentMap : public NS::Copying<LogicalToPhysicalColorAttachmentMap>
|
|
187
|
+
{
|
|
188
|
+
public:
|
|
189
|
+
static LogicalToPhysicalColorAttachmentMap* alloc();
|
|
190
|
+
|
|
191
|
+
NS::UInteger getPhysicalIndex(NS::UInteger logicalIndex);
|
|
192
|
+
|
|
193
|
+
LogicalToPhysicalColorAttachmentMap* init();
|
|
194
|
+
|
|
195
|
+
void reset();
|
|
196
|
+
|
|
197
|
+
void setPhysicalIndex(NS::UInteger physicalIndex, NS::UInteger logicalIndex);
|
|
198
|
+
};
|
|
199
|
+
class RenderPipelineReflection : public NS::Referencing<RenderPipelineReflection>
|
|
200
|
+
{
|
|
201
|
+
public:
|
|
202
|
+
static RenderPipelineReflection* alloc();
|
|
203
|
+
|
|
204
|
+
NS::Array* fragmentArguments() const;
|
|
205
|
+
|
|
206
|
+
NS::Array* fragmentBindings() const;
|
|
207
|
+
|
|
208
|
+
RenderPipelineReflection* init();
|
|
209
|
+
|
|
210
|
+
NS::Array* meshBindings() const;
|
|
211
|
+
|
|
212
|
+
NS::Array* objectBindings() const;
|
|
213
|
+
|
|
214
|
+
NS::Array* tileArguments() const;
|
|
215
|
+
|
|
216
|
+
NS::Array* tileBindings() const;
|
|
217
|
+
|
|
218
|
+
NS::Array* vertexArguments() const;
|
|
219
|
+
|
|
220
|
+
NS::Array* vertexBindings() const;
|
|
221
|
+
};
|
|
222
|
+
class RenderPipelineDescriptor : public NS::Copying<RenderPipelineDescriptor>
|
|
223
|
+
{
|
|
224
|
+
public:
|
|
225
|
+
static RenderPipelineDescriptor* alloc();
|
|
226
|
+
|
|
227
|
+
[[deprecated("please use isAlphaToCoverageEnabled instead")]]
|
|
228
|
+
bool alphaToCoverageEnabled() const;
|
|
229
|
+
|
|
230
|
+
[[deprecated("please use isAlphaToOneEnabled instead")]]
|
|
231
|
+
bool alphaToOneEnabled() const;
|
|
232
|
+
|
|
233
|
+
NS::Array* binaryArchives() const;
|
|
234
|
+
|
|
235
|
+
RenderPipelineColorAttachmentDescriptorArray* colorAttachments() const;
|
|
236
|
+
|
|
237
|
+
PixelFormat depthAttachmentPixelFormat() const;
|
|
238
|
+
|
|
239
|
+
PipelineBufferDescriptorArray* fragmentBuffers() const;
|
|
240
|
+
|
|
241
|
+
Function* fragmentFunction() const;
|
|
242
|
+
|
|
243
|
+
LinkedFunctions* fragmentLinkedFunctions() const;
|
|
244
|
+
|
|
245
|
+
NS::Array* fragmentPreloadedLibraries() const;
|
|
246
|
+
|
|
247
|
+
RenderPipelineDescriptor* init();
|
|
248
|
+
|
|
249
|
+
PrimitiveTopologyClass inputPrimitiveTopology() const;
|
|
250
|
+
|
|
251
|
+
bool isAlphaToCoverageEnabled() const;
|
|
252
|
+
|
|
253
|
+
bool isAlphaToOneEnabled() const;
|
|
254
|
+
|
|
255
|
+
bool isRasterizationEnabled() const;
|
|
256
|
+
|
|
257
|
+
bool isTessellationFactorScaleEnabled() const;
|
|
258
|
+
|
|
259
|
+
NS::String* label() const;
|
|
260
|
+
|
|
261
|
+
NS::UInteger maxFragmentCallStackDepth() const;
|
|
262
|
+
|
|
263
|
+
NS::UInteger maxTessellationFactor() const;
|
|
264
|
+
|
|
265
|
+
NS::UInteger maxVertexAmplificationCount() const;
|
|
266
|
+
|
|
267
|
+
NS::UInteger maxVertexCallStackDepth() const;
|
|
268
|
+
|
|
269
|
+
NS::UInteger rasterSampleCount() const;
|
|
270
|
+
|
|
271
|
+
[[deprecated("please use isRasterizationEnabled instead")]]
|
|
272
|
+
bool rasterizationEnabled() const;
|
|
273
|
+
|
|
274
|
+
void reset();
|
|
275
|
+
|
|
276
|
+
NS::UInteger sampleCount() const;
|
|
277
|
+
|
|
278
|
+
void setAlphaToCoverageEnabled(bool alphaToCoverageEnabled);
|
|
279
|
+
|
|
280
|
+
void setAlphaToOneEnabled(bool alphaToOneEnabled);
|
|
281
|
+
|
|
282
|
+
void setBinaryArchives(const NS::Array* binaryArchives);
|
|
283
|
+
|
|
284
|
+
void setDepthAttachmentPixelFormat(MTL::PixelFormat depthAttachmentPixelFormat);
|
|
285
|
+
|
|
286
|
+
void setFragmentFunction(const MTL::Function* fragmentFunction);
|
|
287
|
+
|
|
288
|
+
void setFragmentLinkedFunctions(const MTL::LinkedFunctions* fragmentLinkedFunctions);
|
|
289
|
+
|
|
290
|
+
void setFragmentPreloadedLibraries(const NS::Array* fragmentPreloadedLibraries);
|
|
291
|
+
|
|
292
|
+
void setInputPrimitiveTopology(MTL::PrimitiveTopologyClass inputPrimitiveTopology);
|
|
293
|
+
|
|
294
|
+
void setLabel(const NS::String* label);
|
|
295
|
+
|
|
296
|
+
void setMaxFragmentCallStackDepth(NS::UInteger maxFragmentCallStackDepth);
|
|
297
|
+
|
|
298
|
+
void setMaxTessellationFactor(NS::UInteger maxTessellationFactor);
|
|
299
|
+
|
|
300
|
+
void setMaxVertexAmplificationCount(NS::UInteger maxVertexAmplificationCount);
|
|
301
|
+
|
|
302
|
+
void setMaxVertexCallStackDepth(NS::UInteger maxVertexCallStackDepth);
|
|
303
|
+
|
|
304
|
+
void setRasterSampleCount(NS::UInteger rasterSampleCount);
|
|
305
|
+
|
|
306
|
+
void setRasterizationEnabled(bool rasterizationEnabled);
|
|
307
|
+
|
|
308
|
+
void setSampleCount(NS::UInteger sampleCount);
|
|
309
|
+
|
|
310
|
+
void setShaderValidation(MTL::ShaderValidation shaderValidation);
|
|
311
|
+
|
|
312
|
+
void setStencilAttachmentPixelFormat(MTL::PixelFormat stencilAttachmentPixelFormat);
|
|
313
|
+
|
|
314
|
+
void setSupportAddingFragmentBinaryFunctions(bool supportAddingFragmentBinaryFunctions);
|
|
315
|
+
|
|
316
|
+
void setSupportAddingVertexBinaryFunctions(bool supportAddingVertexBinaryFunctions);
|
|
317
|
+
|
|
318
|
+
void setSupportIndirectCommandBuffers(bool supportIndirectCommandBuffers);
|
|
319
|
+
|
|
320
|
+
void setTessellationControlPointIndexType(MTL::TessellationControlPointIndexType tessellationControlPointIndexType);
|
|
321
|
+
|
|
322
|
+
void setTessellationFactorFormat(MTL::TessellationFactorFormat tessellationFactorFormat);
|
|
323
|
+
|
|
324
|
+
void setTessellationFactorScaleEnabled(bool tessellationFactorScaleEnabled);
|
|
325
|
+
|
|
326
|
+
void setTessellationFactorStepFunction(MTL::TessellationFactorStepFunction tessellationFactorStepFunction);
|
|
327
|
+
|
|
328
|
+
void setTessellationOutputWindingOrder(MTL::Winding tessellationOutputWindingOrder);
|
|
329
|
+
|
|
330
|
+
void setTessellationPartitionMode(MTL::TessellationPartitionMode tessellationPartitionMode);
|
|
331
|
+
|
|
332
|
+
void setVertexDescriptor(const MTL::VertexDescriptor* vertexDescriptor);
|
|
333
|
+
|
|
334
|
+
void setVertexFunction(const MTL::Function* vertexFunction);
|
|
335
|
+
|
|
336
|
+
void setVertexLinkedFunctions(const MTL::LinkedFunctions* vertexLinkedFunctions);
|
|
337
|
+
|
|
338
|
+
void setVertexPreloadedLibraries(const NS::Array* vertexPreloadedLibraries);
|
|
339
|
+
|
|
340
|
+
ShaderValidation shaderValidation() const;
|
|
341
|
+
|
|
342
|
+
PixelFormat stencilAttachmentPixelFormat() const;
|
|
343
|
+
|
|
344
|
+
bool supportAddingFragmentBinaryFunctions() const;
|
|
345
|
+
|
|
346
|
+
bool supportAddingVertexBinaryFunctions() const;
|
|
347
|
+
|
|
348
|
+
bool supportIndirectCommandBuffers() const;
|
|
349
|
+
|
|
350
|
+
TessellationControlPointIndexType tessellationControlPointIndexType() const;
|
|
351
|
+
|
|
352
|
+
TessellationFactorFormat tessellationFactorFormat() const;
|
|
353
|
+
|
|
354
|
+
[[deprecated("please use isTessellationFactorScaleEnabled instead")]]
|
|
355
|
+
bool tessellationFactorScaleEnabled() const;
|
|
356
|
+
|
|
357
|
+
TessellationFactorStepFunction tessellationFactorStepFunction() const;
|
|
358
|
+
|
|
359
|
+
Winding tessellationOutputWindingOrder() const;
|
|
360
|
+
|
|
361
|
+
TessellationPartitionMode tessellationPartitionMode() const;
|
|
362
|
+
|
|
363
|
+
PipelineBufferDescriptorArray* vertexBuffers() const;
|
|
364
|
+
|
|
365
|
+
VertexDescriptor* vertexDescriptor() const;
|
|
366
|
+
|
|
367
|
+
Function* vertexFunction() const;
|
|
368
|
+
|
|
369
|
+
LinkedFunctions* vertexLinkedFunctions() const;
|
|
370
|
+
|
|
371
|
+
NS::Array* vertexPreloadedLibraries() const;
|
|
372
|
+
};
|
|
373
|
+
class RenderPipelineFunctionsDescriptor : public NS::Copying<RenderPipelineFunctionsDescriptor>
|
|
374
|
+
{
|
|
375
|
+
public:
|
|
376
|
+
static RenderPipelineFunctionsDescriptor* alloc();
|
|
377
|
+
|
|
378
|
+
NS::Array* fragmentAdditionalBinaryFunctions() const;
|
|
379
|
+
|
|
380
|
+
RenderPipelineFunctionsDescriptor* init();
|
|
381
|
+
|
|
382
|
+
void setFragmentAdditionalBinaryFunctions(const NS::Array* fragmentAdditionalBinaryFunctions);
|
|
383
|
+
|
|
384
|
+
void setTileAdditionalBinaryFunctions(const NS::Array* tileAdditionalBinaryFunctions);
|
|
385
|
+
|
|
386
|
+
void setVertexAdditionalBinaryFunctions(const NS::Array* vertexAdditionalBinaryFunctions);
|
|
387
|
+
|
|
388
|
+
NS::Array* tileAdditionalBinaryFunctions() const;
|
|
389
|
+
|
|
390
|
+
NS::Array* vertexAdditionalBinaryFunctions() const;
|
|
391
|
+
};
|
|
392
|
+
class RenderPipelineState : public NS::Referencing<RenderPipelineState, Allocation>
|
|
393
|
+
{
|
|
394
|
+
public:
|
|
395
|
+
Device* device() const;
|
|
396
|
+
|
|
397
|
+
FunctionHandle* functionHandle(const NS::String* name, MTL::RenderStages stage);
|
|
398
|
+
FunctionHandle* functionHandle(const MTL4::BinaryFunction* function, MTL::RenderStages stage);
|
|
399
|
+
FunctionHandle* functionHandle(const MTL::Function* function, MTL::RenderStages stage);
|
|
400
|
+
|
|
401
|
+
ResourceID gpuResourceID() const;
|
|
402
|
+
|
|
403
|
+
NS::UInteger imageblockMemoryLength(MTL::Size imageblockDimensions);
|
|
404
|
+
|
|
405
|
+
NS::UInteger imageblockSampleLength() const;
|
|
406
|
+
|
|
407
|
+
NS::String* label() const;
|
|
408
|
+
|
|
409
|
+
NS::UInteger maxTotalThreadgroupsPerMeshGrid() const;
|
|
410
|
+
|
|
411
|
+
NS::UInteger maxTotalThreadsPerMeshThreadgroup() const;
|
|
412
|
+
|
|
413
|
+
NS::UInteger maxTotalThreadsPerObjectThreadgroup() const;
|
|
414
|
+
|
|
415
|
+
NS::UInteger maxTotalThreadsPerThreadgroup() const;
|
|
416
|
+
|
|
417
|
+
NS::UInteger meshThreadExecutionWidth() const;
|
|
418
|
+
|
|
419
|
+
IntersectionFunctionTable* newIntersectionFunctionTable(const MTL::IntersectionFunctionTableDescriptor* descriptor, MTL::RenderStages stage);
|
|
420
|
+
|
|
421
|
+
MTL4::PipelineDescriptor* newRenderPipelineDescriptor();
|
|
422
|
+
|
|
423
|
+
RenderPipelineState* newRenderPipelineState(const MTL4::RenderPipelineBinaryFunctionsDescriptor* binaryFunctionsDescriptor, NS::Error** error);
|
|
424
|
+
RenderPipelineState* newRenderPipelineState(const MTL::RenderPipelineFunctionsDescriptor* additionalBinaryFunctions, NS::Error** error);
|
|
425
|
+
|
|
426
|
+
VisibleFunctionTable* newVisibleFunctionTable(const MTL::VisibleFunctionTableDescriptor* descriptor, MTL::RenderStages stage);
|
|
427
|
+
|
|
428
|
+
NS::UInteger objectThreadExecutionWidth() const;
|
|
429
|
+
|
|
430
|
+
RenderPipelineReflection* reflection() const;
|
|
431
|
+
|
|
432
|
+
Size requiredThreadsPerMeshThreadgroup() const;
|
|
433
|
+
|
|
434
|
+
Size requiredThreadsPerObjectThreadgroup() const;
|
|
435
|
+
|
|
436
|
+
Size requiredThreadsPerTileThreadgroup() const;
|
|
437
|
+
|
|
438
|
+
ShaderValidation shaderValidation() const;
|
|
439
|
+
|
|
440
|
+
bool supportIndirectCommandBuffers() const;
|
|
441
|
+
|
|
442
|
+
bool threadgroupSizeMatchesTileSize() const;
|
|
443
|
+
};
|
|
444
|
+
class RenderPipelineColorAttachmentDescriptorArray : public NS::Referencing<RenderPipelineColorAttachmentDescriptorArray>
|
|
445
|
+
{
|
|
446
|
+
public:
|
|
447
|
+
static RenderPipelineColorAttachmentDescriptorArray* alloc();
|
|
448
|
+
|
|
449
|
+
RenderPipelineColorAttachmentDescriptorArray* init();
|
|
450
|
+
|
|
451
|
+
RenderPipelineColorAttachmentDescriptor* object(NS::UInteger attachmentIndex);
|
|
452
|
+
void setObject(const MTL::RenderPipelineColorAttachmentDescriptor* attachment, NS::UInteger attachmentIndex);
|
|
453
|
+
};
|
|
454
|
+
class TileRenderPipelineColorAttachmentDescriptor : public NS::Copying<TileRenderPipelineColorAttachmentDescriptor>
|
|
455
|
+
{
|
|
456
|
+
public:
|
|
457
|
+
static TileRenderPipelineColorAttachmentDescriptor* alloc();
|
|
458
|
+
|
|
459
|
+
TileRenderPipelineColorAttachmentDescriptor* init();
|
|
460
|
+
|
|
461
|
+
PixelFormat pixelFormat() const;
|
|
462
|
+
void setPixelFormat(MTL::PixelFormat pixelFormat);
|
|
463
|
+
};
|
|
464
|
+
class TileRenderPipelineColorAttachmentDescriptorArray : public NS::Referencing<TileRenderPipelineColorAttachmentDescriptorArray>
|
|
465
|
+
{
|
|
466
|
+
public:
|
|
467
|
+
static TileRenderPipelineColorAttachmentDescriptorArray* alloc();
|
|
468
|
+
|
|
469
|
+
TileRenderPipelineColorAttachmentDescriptorArray* init();
|
|
470
|
+
|
|
471
|
+
TileRenderPipelineColorAttachmentDescriptor* object(NS::UInteger attachmentIndex);
|
|
472
|
+
void setObject(const MTL::TileRenderPipelineColorAttachmentDescriptor* attachment, NS::UInteger attachmentIndex);
|
|
473
|
+
};
|
|
474
|
+
class TileRenderPipelineDescriptor : public NS::Copying<TileRenderPipelineDescriptor>
|
|
475
|
+
{
|
|
476
|
+
public:
|
|
477
|
+
static TileRenderPipelineDescriptor* alloc();
|
|
478
|
+
|
|
479
|
+
NS::Array* binaryArchives() const;
|
|
480
|
+
|
|
481
|
+
TileRenderPipelineColorAttachmentDescriptorArray* colorAttachments() const;
|
|
482
|
+
|
|
483
|
+
TileRenderPipelineDescriptor* init();
|
|
484
|
+
|
|
485
|
+
NS::String* label() const;
|
|
486
|
+
|
|
487
|
+
LinkedFunctions* linkedFunctions() const;
|
|
488
|
+
|
|
489
|
+
NS::UInteger maxCallStackDepth() const;
|
|
490
|
+
|
|
491
|
+
NS::UInteger maxTotalThreadsPerThreadgroup() const;
|
|
492
|
+
|
|
493
|
+
NS::Array* preloadedLibraries() const;
|
|
494
|
+
|
|
495
|
+
NS::UInteger rasterSampleCount() const;
|
|
496
|
+
|
|
497
|
+
Size requiredThreadsPerThreadgroup() const;
|
|
498
|
+
|
|
499
|
+
void reset();
|
|
500
|
+
|
|
501
|
+
void setBinaryArchives(const NS::Array* binaryArchives);
|
|
502
|
+
|
|
503
|
+
void setLabel(const NS::String* label);
|
|
504
|
+
|
|
505
|
+
void setLinkedFunctions(const MTL::LinkedFunctions* linkedFunctions);
|
|
506
|
+
|
|
507
|
+
void setMaxCallStackDepth(NS::UInteger maxCallStackDepth);
|
|
508
|
+
|
|
509
|
+
void setMaxTotalThreadsPerThreadgroup(NS::UInteger maxTotalThreadsPerThreadgroup);
|
|
510
|
+
|
|
511
|
+
void setPreloadedLibraries(const NS::Array* preloadedLibraries);
|
|
512
|
+
|
|
513
|
+
void setRasterSampleCount(NS::UInteger rasterSampleCount);
|
|
514
|
+
|
|
515
|
+
void setRequiredThreadsPerThreadgroup(MTL::Size requiredThreadsPerThreadgroup);
|
|
516
|
+
|
|
517
|
+
void setShaderValidation(MTL::ShaderValidation shaderValidation);
|
|
518
|
+
|
|
519
|
+
void setSupportAddingBinaryFunctions(bool supportAddingBinaryFunctions);
|
|
520
|
+
|
|
521
|
+
void setThreadgroupSizeMatchesTileSize(bool threadgroupSizeMatchesTileSize);
|
|
522
|
+
|
|
523
|
+
void setTileFunction(const MTL::Function* tileFunction);
|
|
524
|
+
|
|
525
|
+
ShaderValidation shaderValidation() const;
|
|
526
|
+
|
|
527
|
+
bool supportAddingBinaryFunctions() const;
|
|
528
|
+
|
|
529
|
+
bool threadgroupSizeMatchesTileSize() const;
|
|
530
|
+
|
|
531
|
+
PipelineBufferDescriptorArray* tileBuffers() const;
|
|
532
|
+
|
|
533
|
+
Function* tileFunction() const;
|
|
534
|
+
};
|
|
535
|
+
class MeshRenderPipelineDescriptor : public NS::Copying<MeshRenderPipelineDescriptor>
|
|
536
|
+
{
|
|
537
|
+
public:
|
|
538
|
+
static MeshRenderPipelineDescriptor* alloc();
|
|
539
|
+
|
|
540
|
+
[[deprecated("please use isAlphaToCoverageEnabled instead")]]
|
|
541
|
+
bool alphaToCoverageEnabled() const;
|
|
542
|
+
|
|
543
|
+
[[deprecated("please use isAlphaToOneEnabled instead")]]
|
|
544
|
+
bool alphaToOneEnabled() const;
|
|
545
|
+
|
|
546
|
+
NS::Array* binaryArchives() const;
|
|
547
|
+
|
|
548
|
+
RenderPipelineColorAttachmentDescriptorArray* colorAttachments() const;
|
|
549
|
+
|
|
550
|
+
PixelFormat depthAttachmentPixelFormat() const;
|
|
551
|
+
|
|
552
|
+
PipelineBufferDescriptorArray* fragmentBuffers() const;
|
|
553
|
+
|
|
554
|
+
Function* fragmentFunction() const;
|
|
555
|
+
|
|
556
|
+
LinkedFunctions* fragmentLinkedFunctions() const;
|
|
557
|
+
|
|
558
|
+
MeshRenderPipelineDescriptor* init();
|
|
559
|
+
|
|
560
|
+
bool isAlphaToCoverageEnabled() const;
|
|
561
|
+
|
|
562
|
+
bool isAlphaToOneEnabled() const;
|
|
563
|
+
|
|
564
|
+
bool isRasterizationEnabled() const;
|
|
565
|
+
|
|
566
|
+
NS::String* label() const;
|
|
567
|
+
|
|
568
|
+
NS::UInteger maxTotalThreadgroupsPerMeshGrid() const;
|
|
569
|
+
|
|
570
|
+
NS::UInteger maxTotalThreadsPerMeshThreadgroup() const;
|
|
571
|
+
|
|
572
|
+
NS::UInteger maxTotalThreadsPerObjectThreadgroup() const;
|
|
573
|
+
|
|
574
|
+
NS::UInteger maxVertexAmplificationCount() const;
|
|
575
|
+
|
|
576
|
+
PipelineBufferDescriptorArray* meshBuffers() const;
|
|
577
|
+
|
|
578
|
+
Function* meshFunction() const;
|
|
579
|
+
|
|
580
|
+
LinkedFunctions* meshLinkedFunctions() const;
|
|
581
|
+
|
|
582
|
+
bool meshThreadgroupSizeIsMultipleOfThreadExecutionWidth() const;
|
|
583
|
+
|
|
584
|
+
PipelineBufferDescriptorArray* objectBuffers() const;
|
|
585
|
+
|
|
586
|
+
Function* objectFunction() const;
|
|
587
|
+
|
|
588
|
+
LinkedFunctions* objectLinkedFunctions() const;
|
|
589
|
+
|
|
590
|
+
bool objectThreadgroupSizeIsMultipleOfThreadExecutionWidth() const;
|
|
591
|
+
|
|
592
|
+
NS::UInteger payloadMemoryLength() const;
|
|
593
|
+
|
|
594
|
+
NS::UInteger rasterSampleCount() const;
|
|
595
|
+
|
|
596
|
+
[[deprecated("please use isRasterizationEnabled instead")]]
|
|
597
|
+
bool rasterizationEnabled() const;
|
|
598
|
+
|
|
599
|
+
Size requiredThreadsPerMeshThreadgroup() const;
|
|
600
|
+
|
|
601
|
+
Size requiredThreadsPerObjectThreadgroup() const;
|
|
602
|
+
|
|
603
|
+
void reset();
|
|
604
|
+
|
|
605
|
+
void setAlphaToCoverageEnabled(bool alphaToCoverageEnabled);
|
|
606
|
+
|
|
607
|
+
void setAlphaToOneEnabled(bool alphaToOneEnabled);
|
|
608
|
+
|
|
609
|
+
void setBinaryArchives(const NS::Array* binaryArchives);
|
|
610
|
+
|
|
611
|
+
void setDepthAttachmentPixelFormat(MTL::PixelFormat depthAttachmentPixelFormat);
|
|
612
|
+
|
|
613
|
+
void setFragmentFunction(const MTL::Function* fragmentFunction);
|
|
614
|
+
|
|
615
|
+
void setFragmentLinkedFunctions(const MTL::LinkedFunctions* fragmentLinkedFunctions);
|
|
616
|
+
|
|
617
|
+
void setLabel(const NS::String* label);
|
|
618
|
+
|
|
619
|
+
void setMaxTotalThreadgroupsPerMeshGrid(NS::UInteger maxTotalThreadgroupsPerMeshGrid);
|
|
620
|
+
|
|
621
|
+
void setMaxTotalThreadsPerMeshThreadgroup(NS::UInteger maxTotalThreadsPerMeshThreadgroup);
|
|
622
|
+
|
|
623
|
+
void setMaxTotalThreadsPerObjectThreadgroup(NS::UInteger maxTotalThreadsPerObjectThreadgroup);
|
|
624
|
+
|
|
625
|
+
void setMaxVertexAmplificationCount(NS::UInteger maxVertexAmplificationCount);
|
|
626
|
+
|
|
627
|
+
void setMeshFunction(const MTL::Function* meshFunction);
|
|
628
|
+
|
|
629
|
+
void setMeshLinkedFunctions(const MTL::LinkedFunctions* meshLinkedFunctions);
|
|
630
|
+
|
|
631
|
+
void setMeshThreadgroupSizeIsMultipleOfThreadExecutionWidth(bool meshThreadgroupSizeIsMultipleOfThreadExecutionWidth);
|
|
632
|
+
|
|
633
|
+
void setObjectFunction(const MTL::Function* objectFunction);
|
|
634
|
+
|
|
635
|
+
void setObjectLinkedFunctions(const MTL::LinkedFunctions* objectLinkedFunctions);
|
|
636
|
+
|
|
637
|
+
void setObjectThreadgroupSizeIsMultipleOfThreadExecutionWidth(bool objectThreadgroupSizeIsMultipleOfThreadExecutionWidth);
|
|
638
|
+
|
|
639
|
+
void setPayloadMemoryLength(NS::UInteger payloadMemoryLength);
|
|
640
|
+
|
|
641
|
+
void setRasterSampleCount(NS::UInteger rasterSampleCount);
|
|
642
|
+
|
|
643
|
+
void setRasterizationEnabled(bool rasterizationEnabled);
|
|
644
|
+
|
|
645
|
+
void setRequiredThreadsPerMeshThreadgroup(MTL::Size requiredThreadsPerMeshThreadgroup);
|
|
646
|
+
|
|
647
|
+
void setRequiredThreadsPerObjectThreadgroup(MTL::Size requiredThreadsPerObjectThreadgroup);
|
|
648
|
+
|
|
649
|
+
void setShaderValidation(MTL::ShaderValidation shaderValidation);
|
|
650
|
+
|
|
651
|
+
void setStencilAttachmentPixelFormat(MTL::PixelFormat stencilAttachmentPixelFormat);
|
|
652
|
+
|
|
653
|
+
void setSupportIndirectCommandBuffers(bool supportIndirectCommandBuffers);
|
|
654
|
+
|
|
655
|
+
ShaderValidation shaderValidation() const;
|
|
656
|
+
|
|
657
|
+
PixelFormat stencilAttachmentPixelFormat() const;
|
|
658
|
+
|
|
659
|
+
bool supportIndirectCommandBuffers() const;
|
|
660
|
+
};
|
|
661
|
+
|
|
662
|
+
}
|
|
663
|
+
_MTL_INLINE MTL::RenderPipelineColorAttachmentDescriptor* MTL::RenderPipelineColorAttachmentDescriptor::alloc()
|
|
664
|
+
{
|
|
665
|
+
return NS::Object::alloc<MTL::RenderPipelineColorAttachmentDescriptor>(_MTL_PRIVATE_CLS(MTLRenderPipelineColorAttachmentDescriptor));
|
|
666
|
+
}
|
|
667
|
+
|
|
668
|
+
_MTL_INLINE MTL::BlendOperation MTL::RenderPipelineColorAttachmentDescriptor::alphaBlendOperation() const
|
|
669
|
+
{
|
|
670
|
+
return Object::sendMessage<MTL::BlendOperation>(this, _MTL_PRIVATE_SEL(alphaBlendOperation));
|
|
671
|
+
}
|
|
672
|
+
|
|
673
|
+
_MTL_INLINE bool MTL::RenderPipelineColorAttachmentDescriptor::blendingEnabled() const
|
|
674
|
+
{
|
|
675
|
+
return Object::sendMessage<bool>(this, _MTL_PRIVATE_SEL(isBlendingEnabled));
|
|
676
|
+
}
|
|
677
|
+
|
|
678
|
+
_MTL_INLINE MTL::BlendFactor MTL::RenderPipelineColorAttachmentDescriptor::destinationAlphaBlendFactor() const
|
|
679
|
+
{
|
|
680
|
+
return Object::sendMessage<MTL::BlendFactor>(this, _MTL_PRIVATE_SEL(destinationAlphaBlendFactor));
|
|
681
|
+
}
|
|
682
|
+
|
|
683
|
+
_MTL_INLINE MTL::BlendFactor MTL::RenderPipelineColorAttachmentDescriptor::destinationRGBBlendFactor() const
|
|
684
|
+
{
|
|
685
|
+
return Object::sendMessage<MTL::BlendFactor>(this, _MTL_PRIVATE_SEL(destinationRGBBlendFactor));
|
|
686
|
+
}
|
|
687
|
+
|
|
688
|
+
_MTL_INLINE MTL::RenderPipelineColorAttachmentDescriptor* MTL::RenderPipelineColorAttachmentDescriptor::init()
|
|
689
|
+
{
|
|
690
|
+
return NS::Object::init<MTL::RenderPipelineColorAttachmentDescriptor>();
|
|
691
|
+
}
|
|
692
|
+
|
|
693
|
+
_MTL_INLINE bool MTL::RenderPipelineColorAttachmentDescriptor::isBlendingEnabled() const
|
|
694
|
+
{
|
|
695
|
+
return Object::sendMessage<bool>(this, _MTL_PRIVATE_SEL(isBlendingEnabled));
|
|
696
|
+
}
|
|
697
|
+
|
|
698
|
+
_MTL_INLINE MTL::PixelFormat MTL::RenderPipelineColorAttachmentDescriptor::pixelFormat() const
|
|
699
|
+
{
|
|
700
|
+
return Object::sendMessage<MTL::PixelFormat>(this, _MTL_PRIVATE_SEL(pixelFormat));
|
|
701
|
+
}
|
|
702
|
+
|
|
703
|
+
_MTL_INLINE MTL::BlendOperation MTL::RenderPipelineColorAttachmentDescriptor::rgbBlendOperation() const
|
|
704
|
+
{
|
|
705
|
+
return Object::sendMessage<MTL::BlendOperation>(this, _MTL_PRIVATE_SEL(rgbBlendOperation));
|
|
706
|
+
}
|
|
707
|
+
|
|
708
|
+
_MTL_INLINE void MTL::RenderPipelineColorAttachmentDescriptor::setAlphaBlendOperation(MTL::BlendOperation alphaBlendOperation)
|
|
709
|
+
{
|
|
710
|
+
Object::sendMessage<void>(this, _MTL_PRIVATE_SEL(setAlphaBlendOperation_), alphaBlendOperation);
|
|
711
|
+
}
|
|
712
|
+
|
|
713
|
+
_MTL_INLINE void MTL::RenderPipelineColorAttachmentDescriptor::setBlendingEnabled(bool blendingEnabled)
|
|
714
|
+
{
|
|
715
|
+
Object::sendMessage<void>(this, _MTL_PRIVATE_SEL(setBlendingEnabled_), blendingEnabled);
|
|
716
|
+
}
|
|
717
|
+
|
|
718
|
+
_MTL_INLINE void MTL::RenderPipelineColorAttachmentDescriptor::setDestinationAlphaBlendFactor(MTL::BlendFactor destinationAlphaBlendFactor)
|
|
719
|
+
{
|
|
720
|
+
Object::sendMessage<void>(this, _MTL_PRIVATE_SEL(setDestinationAlphaBlendFactor_), destinationAlphaBlendFactor);
|
|
721
|
+
}
|
|
722
|
+
|
|
723
|
+
_MTL_INLINE void MTL::RenderPipelineColorAttachmentDescriptor::setDestinationRGBBlendFactor(MTL::BlendFactor destinationRGBBlendFactor)
|
|
724
|
+
{
|
|
725
|
+
Object::sendMessage<void>(this, _MTL_PRIVATE_SEL(setDestinationRGBBlendFactor_), destinationRGBBlendFactor);
|
|
726
|
+
}
|
|
727
|
+
|
|
728
|
+
_MTL_INLINE void MTL::RenderPipelineColorAttachmentDescriptor::setPixelFormat(MTL::PixelFormat pixelFormat)
|
|
729
|
+
{
|
|
730
|
+
Object::sendMessage<void>(this, _MTL_PRIVATE_SEL(setPixelFormat_), pixelFormat);
|
|
731
|
+
}
|
|
732
|
+
|
|
733
|
+
_MTL_INLINE void MTL::RenderPipelineColorAttachmentDescriptor::setRgbBlendOperation(MTL::BlendOperation rgbBlendOperation)
|
|
734
|
+
{
|
|
735
|
+
Object::sendMessage<void>(this, _MTL_PRIVATE_SEL(setRgbBlendOperation_), rgbBlendOperation);
|
|
736
|
+
}
|
|
737
|
+
|
|
738
|
+
_MTL_INLINE void MTL::RenderPipelineColorAttachmentDescriptor::setSourceAlphaBlendFactor(MTL::BlendFactor sourceAlphaBlendFactor)
|
|
739
|
+
{
|
|
740
|
+
Object::sendMessage<void>(this, _MTL_PRIVATE_SEL(setSourceAlphaBlendFactor_), sourceAlphaBlendFactor);
|
|
741
|
+
}
|
|
742
|
+
|
|
743
|
+
_MTL_INLINE void MTL::RenderPipelineColorAttachmentDescriptor::setSourceRGBBlendFactor(MTL::BlendFactor sourceRGBBlendFactor)
|
|
744
|
+
{
|
|
745
|
+
Object::sendMessage<void>(this, _MTL_PRIVATE_SEL(setSourceRGBBlendFactor_), sourceRGBBlendFactor);
|
|
746
|
+
}
|
|
747
|
+
|
|
748
|
+
_MTL_INLINE void MTL::RenderPipelineColorAttachmentDescriptor::setWriteMask(MTL::ColorWriteMask writeMask)
|
|
749
|
+
{
|
|
750
|
+
Object::sendMessage<void>(this, _MTL_PRIVATE_SEL(setWriteMask_), writeMask);
|
|
751
|
+
}
|
|
752
|
+
|
|
753
|
+
_MTL_INLINE MTL::BlendFactor MTL::RenderPipelineColorAttachmentDescriptor::sourceAlphaBlendFactor() const
|
|
754
|
+
{
|
|
755
|
+
return Object::sendMessage<MTL::BlendFactor>(this, _MTL_PRIVATE_SEL(sourceAlphaBlendFactor));
|
|
756
|
+
}
|
|
757
|
+
|
|
758
|
+
_MTL_INLINE MTL::BlendFactor MTL::RenderPipelineColorAttachmentDescriptor::sourceRGBBlendFactor() const
|
|
759
|
+
{
|
|
760
|
+
return Object::sendMessage<MTL::BlendFactor>(this, _MTL_PRIVATE_SEL(sourceRGBBlendFactor));
|
|
761
|
+
}
|
|
762
|
+
|
|
763
|
+
_MTL_INLINE MTL::ColorWriteMask MTL::RenderPipelineColorAttachmentDescriptor::writeMask() const
|
|
764
|
+
{
|
|
765
|
+
return Object::sendMessage<MTL::ColorWriteMask>(this, _MTL_PRIVATE_SEL(writeMask));
|
|
766
|
+
}
|
|
767
|
+
|
|
768
|
+
_MTL_INLINE MTL::LogicalToPhysicalColorAttachmentMap* MTL::LogicalToPhysicalColorAttachmentMap::alloc()
|
|
769
|
+
{
|
|
770
|
+
return NS::Object::alloc<MTL::LogicalToPhysicalColorAttachmentMap>(_MTL_PRIVATE_CLS(MTLLogicalToPhysicalColorAttachmentMap));
|
|
771
|
+
}
|
|
772
|
+
|
|
773
|
+
_MTL_INLINE NS::UInteger MTL::LogicalToPhysicalColorAttachmentMap::getPhysicalIndex(NS::UInteger logicalIndex)
|
|
774
|
+
{
|
|
775
|
+
return Object::sendMessage<NS::UInteger>(this, _MTL_PRIVATE_SEL(getPhysicalIndexForLogicalIndex_), logicalIndex);
|
|
776
|
+
}
|
|
777
|
+
|
|
778
|
+
_MTL_INLINE MTL::LogicalToPhysicalColorAttachmentMap* MTL::LogicalToPhysicalColorAttachmentMap::init()
|
|
779
|
+
{
|
|
780
|
+
return NS::Object::init<MTL::LogicalToPhysicalColorAttachmentMap>();
|
|
781
|
+
}
|
|
782
|
+
|
|
783
|
+
_MTL_INLINE void MTL::LogicalToPhysicalColorAttachmentMap::reset()
|
|
784
|
+
{
|
|
785
|
+
Object::sendMessage<void>(this, _MTL_PRIVATE_SEL(reset));
|
|
786
|
+
}
|
|
787
|
+
|
|
788
|
+
_MTL_INLINE void MTL::LogicalToPhysicalColorAttachmentMap::setPhysicalIndex(NS::UInteger physicalIndex, NS::UInteger logicalIndex)
|
|
789
|
+
{
|
|
790
|
+
Object::sendMessage<void>(this, _MTL_PRIVATE_SEL(setPhysicalIndex_forLogicalIndex_), physicalIndex, logicalIndex);
|
|
791
|
+
}
|
|
792
|
+
|
|
793
|
+
_MTL_INLINE MTL::RenderPipelineReflection* MTL::RenderPipelineReflection::alloc()
|
|
794
|
+
{
|
|
795
|
+
return NS::Object::alloc<MTL::RenderPipelineReflection>(_MTL_PRIVATE_CLS(MTLRenderPipelineReflection));
|
|
796
|
+
}
|
|
797
|
+
|
|
798
|
+
_MTL_INLINE NS::Array* MTL::RenderPipelineReflection::fragmentArguments() const
|
|
799
|
+
{
|
|
800
|
+
return Object::sendMessage<NS::Array*>(this, _MTL_PRIVATE_SEL(fragmentArguments));
|
|
801
|
+
}
|
|
802
|
+
|
|
803
|
+
_MTL_INLINE NS::Array* MTL::RenderPipelineReflection::fragmentBindings() const
|
|
804
|
+
{
|
|
805
|
+
return Object::sendMessage<NS::Array*>(this, _MTL_PRIVATE_SEL(fragmentBindings));
|
|
806
|
+
}
|
|
807
|
+
|
|
808
|
+
_MTL_INLINE MTL::RenderPipelineReflection* MTL::RenderPipelineReflection::init()
|
|
809
|
+
{
|
|
810
|
+
return NS::Object::init<MTL::RenderPipelineReflection>();
|
|
811
|
+
}
|
|
812
|
+
|
|
813
|
+
_MTL_INLINE NS::Array* MTL::RenderPipelineReflection::meshBindings() const
|
|
814
|
+
{
|
|
815
|
+
return Object::sendMessage<NS::Array*>(this, _MTL_PRIVATE_SEL(meshBindings));
|
|
816
|
+
}
|
|
817
|
+
|
|
818
|
+
_MTL_INLINE NS::Array* MTL::RenderPipelineReflection::objectBindings() const
|
|
819
|
+
{
|
|
820
|
+
return Object::sendMessage<NS::Array*>(this, _MTL_PRIVATE_SEL(objectBindings));
|
|
821
|
+
}
|
|
822
|
+
|
|
823
|
+
_MTL_INLINE NS::Array* MTL::RenderPipelineReflection::tileArguments() const
|
|
824
|
+
{
|
|
825
|
+
return Object::sendMessage<NS::Array*>(this, _MTL_PRIVATE_SEL(tileArguments));
|
|
826
|
+
}
|
|
827
|
+
|
|
828
|
+
_MTL_INLINE NS::Array* MTL::RenderPipelineReflection::tileBindings() const
|
|
829
|
+
{
|
|
830
|
+
return Object::sendMessage<NS::Array*>(this, _MTL_PRIVATE_SEL(tileBindings));
|
|
831
|
+
}
|
|
832
|
+
|
|
833
|
+
_MTL_INLINE NS::Array* MTL::RenderPipelineReflection::vertexArguments() const
|
|
834
|
+
{
|
|
835
|
+
return Object::sendMessage<NS::Array*>(this, _MTL_PRIVATE_SEL(vertexArguments));
|
|
836
|
+
}
|
|
837
|
+
|
|
838
|
+
_MTL_INLINE NS::Array* MTL::RenderPipelineReflection::vertexBindings() const
|
|
839
|
+
{
|
|
840
|
+
return Object::sendMessage<NS::Array*>(this, _MTL_PRIVATE_SEL(vertexBindings));
|
|
841
|
+
}
|
|
842
|
+
|
|
843
|
+
_MTL_INLINE MTL::RenderPipelineDescriptor* MTL::RenderPipelineDescriptor::alloc()
|
|
844
|
+
{
|
|
845
|
+
return NS::Object::alloc<MTL::RenderPipelineDescriptor>(_MTL_PRIVATE_CLS(MTLRenderPipelineDescriptor));
|
|
846
|
+
}
|
|
847
|
+
|
|
848
|
+
_MTL_INLINE bool MTL::RenderPipelineDescriptor::alphaToCoverageEnabled() const
|
|
849
|
+
{
|
|
850
|
+
return Object::sendMessage<bool>(this, _MTL_PRIVATE_SEL(isAlphaToCoverageEnabled));
|
|
851
|
+
}
|
|
852
|
+
|
|
853
|
+
_MTL_INLINE bool MTL::RenderPipelineDescriptor::alphaToOneEnabled() const
|
|
854
|
+
{
|
|
855
|
+
return Object::sendMessage<bool>(this, _MTL_PRIVATE_SEL(isAlphaToOneEnabled));
|
|
856
|
+
}
|
|
857
|
+
|
|
858
|
+
_MTL_INLINE NS::Array* MTL::RenderPipelineDescriptor::binaryArchives() const
|
|
859
|
+
{
|
|
860
|
+
return Object::sendMessage<NS::Array*>(this, _MTL_PRIVATE_SEL(binaryArchives));
|
|
861
|
+
}
|
|
862
|
+
|
|
863
|
+
_MTL_INLINE MTL::RenderPipelineColorAttachmentDescriptorArray* MTL::RenderPipelineDescriptor::colorAttachments() const
|
|
864
|
+
{
|
|
865
|
+
return Object::sendMessage<MTL::RenderPipelineColorAttachmentDescriptorArray*>(this, _MTL_PRIVATE_SEL(colorAttachments));
|
|
866
|
+
}
|
|
867
|
+
|
|
868
|
+
_MTL_INLINE MTL::PixelFormat MTL::RenderPipelineDescriptor::depthAttachmentPixelFormat() const
|
|
869
|
+
{
|
|
870
|
+
return Object::sendMessage<MTL::PixelFormat>(this, _MTL_PRIVATE_SEL(depthAttachmentPixelFormat));
|
|
871
|
+
}
|
|
872
|
+
|
|
873
|
+
_MTL_INLINE MTL::PipelineBufferDescriptorArray* MTL::RenderPipelineDescriptor::fragmentBuffers() const
|
|
874
|
+
{
|
|
875
|
+
return Object::sendMessage<MTL::PipelineBufferDescriptorArray*>(this, _MTL_PRIVATE_SEL(fragmentBuffers));
|
|
876
|
+
}
|
|
877
|
+
|
|
878
|
+
_MTL_INLINE MTL::Function* MTL::RenderPipelineDescriptor::fragmentFunction() const
|
|
879
|
+
{
|
|
880
|
+
return Object::sendMessage<MTL::Function*>(this, _MTL_PRIVATE_SEL(fragmentFunction));
|
|
881
|
+
}
|
|
882
|
+
|
|
883
|
+
_MTL_INLINE MTL::LinkedFunctions* MTL::RenderPipelineDescriptor::fragmentLinkedFunctions() const
|
|
884
|
+
{
|
|
885
|
+
return Object::sendMessage<MTL::LinkedFunctions*>(this, _MTL_PRIVATE_SEL(fragmentLinkedFunctions));
|
|
886
|
+
}
|
|
887
|
+
|
|
888
|
+
_MTL_INLINE NS::Array* MTL::RenderPipelineDescriptor::fragmentPreloadedLibraries() const
|
|
889
|
+
{
|
|
890
|
+
return Object::sendMessage<NS::Array*>(this, _MTL_PRIVATE_SEL(fragmentPreloadedLibraries));
|
|
891
|
+
}
|
|
892
|
+
|
|
893
|
+
_MTL_INLINE MTL::RenderPipelineDescriptor* MTL::RenderPipelineDescriptor::init()
|
|
894
|
+
{
|
|
895
|
+
return NS::Object::init<MTL::RenderPipelineDescriptor>();
|
|
896
|
+
}
|
|
897
|
+
|
|
898
|
+
_MTL_INLINE MTL::PrimitiveTopologyClass MTL::RenderPipelineDescriptor::inputPrimitiveTopology() const
|
|
899
|
+
{
|
|
900
|
+
return Object::sendMessage<MTL::PrimitiveTopologyClass>(this, _MTL_PRIVATE_SEL(inputPrimitiveTopology));
|
|
901
|
+
}
|
|
902
|
+
|
|
903
|
+
_MTL_INLINE bool MTL::RenderPipelineDescriptor::isAlphaToCoverageEnabled() const
|
|
904
|
+
{
|
|
905
|
+
return Object::sendMessage<bool>(this, _MTL_PRIVATE_SEL(isAlphaToCoverageEnabled));
|
|
906
|
+
}
|
|
907
|
+
|
|
908
|
+
_MTL_INLINE bool MTL::RenderPipelineDescriptor::isAlphaToOneEnabled() const
|
|
909
|
+
{
|
|
910
|
+
return Object::sendMessage<bool>(this, _MTL_PRIVATE_SEL(isAlphaToOneEnabled));
|
|
911
|
+
}
|
|
912
|
+
|
|
913
|
+
_MTL_INLINE bool MTL::RenderPipelineDescriptor::isRasterizationEnabled() const
|
|
914
|
+
{
|
|
915
|
+
return Object::sendMessage<bool>(this, _MTL_PRIVATE_SEL(isRasterizationEnabled));
|
|
916
|
+
}
|
|
917
|
+
|
|
918
|
+
_MTL_INLINE bool MTL::RenderPipelineDescriptor::isTessellationFactorScaleEnabled() const
|
|
919
|
+
{
|
|
920
|
+
return Object::sendMessage<bool>(this, _MTL_PRIVATE_SEL(isTessellationFactorScaleEnabled));
|
|
921
|
+
}
|
|
922
|
+
|
|
923
|
+
_MTL_INLINE NS::String* MTL::RenderPipelineDescriptor::label() const
|
|
924
|
+
{
|
|
925
|
+
return Object::sendMessage<NS::String*>(this, _MTL_PRIVATE_SEL(label));
|
|
926
|
+
}
|
|
927
|
+
|
|
928
|
+
_MTL_INLINE NS::UInteger MTL::RenderPipelineDescriptor::maxFragmentCallStackDepth() const
|
|
929
|
+
{
|
|
930
|
+
return Object::sendMessage<NS::UInteger>(this, _MTL_PRIVATE_SEL(maxFragmentCallStackDepth));
|
|
931
|
+
}
|
|
932
|
+
|
|
933
|
+
_MTL_INLINE NS::UInteger MTL::RenderPipelineDescriptor::maxTessellationFactor() const
|
|
934
|
+
{
|
|
935
|
+
return Object::sendMessage<NS::UInteger>(this, _MTL_PRIVATE_SEL(maxTessellationFactor));
|
|
936
|
+
}
|
|
937
|
+
|
|
938
|
+
_MTL_INLINE NS::UInteger MTL::RenderPipelineDescriptor::maxVertexAmplificationCount() const
|
|
939
|
+
{
|
|
940
|
+
return Object::sendMessage<NS::UInteger>(this, _MTL_PRIVATE_SEL(maxVertexAmplificationCount));
|
|
941
|
+
}
|
|
942
|
+
|
|
943
|
+
_MTL_INLINE NS::UInteger MTL::RenderPipelineDescriptor::maxVertexCallStackDepth() const
|
|
944
|
+
{
|
|
945
|
+
return Object::sendMessage<NS::UInteger>(this, _MTL_PRIVATE_SEL(maxVertexCallStackDepth));
|
|
946
|
+
}
|
|
947
|
+
|
|
948
|
+
_MTL_INLINE NS::UInteger MTL::RenderPipelineDescriptor::rasterSampleCount() const
|
|
949
|
+
{
|
|
950
|
+
return Object::sendMessage<NS::UInteger>(this, _MTL_PRIVATE_SEL(rasterSampleCount));
|
|
951
|
+
}
|
|
952
|
+
|
|
953
|
+
_MTL_INLINE bool MTL::RenderPipelineDescriptor::rasterizationEnabled() const
|
|
954
|
+
{
|
|
955
|
+
return Object::sendMessage<bool>(this, _MTL_PRIVATE_SEL(isRasterizationEnabled));
|
|
956
|
+
}
|
|
957
|
+
|
|
958
|
+
_MTL_INLINE void MTL::RenderPipelineDescriptor::reset()
|
|
959
|
+
{
|
|
960
|
+
Object::sendMessage<void>(this, _MTL_PRIVATE_SEL(reset));
|
|
961
|
+
}
|
|
962
|
+
|
|
963
|
+
_MTL_INLINE NS::UInteger MTL::RenderPipelineDescriptor::sampleCount() const
|
|
964
|
+
{
|
|
965
|
+
return Object::sendMessage<NS::UInteger>(this, _MTL_PRIVATE_SEL(sampleCount));
|
|
966
|
+
}
|
|
967
|
+
|
|
968
|
+
_MTL_INLINE void MTL::RenderPipelineDescriptor::setAlphaToCoverageEnabled(bool alphaToCoverageEnabled)
|
|
969
|
+
{
|
|
970
|
+
Object::sendMessage<void>(this, _MTL_PRIVATE_SEL(setAlphaToCoverageEnabled_), alphaToCoverageEnabled);
|
|
971
|
+
}
|
|
972
|
+
|
|
973
|
+
_MTL_INLINE void MTL::RenderPipelineDescriptor::setAlphaToOneEnabled(bool alphaToOneEnabled)
|
|
974
|
+
{
|
|
975
|
+
Object::sendMessage<void>(this, _MTL_PRIVATE_SEL(setAlphaToOneEnabled_), alphaToOneEnabled);
|
|
976
|
+
}
|
|
977
|
+
|
|
978
|
+
_MTL_INLINE void MTL::RenderPipelineDescriptor::setBinaryArchives(const NS::Array* binaryArchives)
|
|
979
|
+
{
|
|
980
|
+
Object::sendMessage<void>(this, _MTL_PRIVATE_SEL(setBinaryArchives_), binaryArchives);
|
|
981
|
+
}
|
|
982
|
+
|
|
983
|
+
_MTL_INLINE void MTL::RenderPipelineDescriptor::setDepthAttachmentPixelFormat(MTL::PixelFormat depthAttachmentPixelFormat)
|
|
984
|
+
{
|
|
985
|
+
Object::sendMessage<void>(this, _MTL_PRIVATE_SEL(setDepthAttachmentPixelFormat_), depthAttachmentPixelFormat);
|
|
986
|
+
}
|
|
987
|
+
|
|
988
|
+
_MTL_INLINE void MTL::RenderPipelineDescriptor::setFragmentFunction(const MTL::Function* fragmentFunction)
|
|
989
|
+
{
|
|
990
|
+
Object::sendMessage<void>(this, _MTL_PRIVATE_SEL(setFragmentFunction_), fragmentFunction);
|
|
991
|
+
}
|
|
992
|
+
|
|
993
|
+
_MTL_INLINE void MTL::RenderPipelineDescriptor::setFragmentLinkedFunctions(const MTL::LinkedFunctions* fragmentLinkedFunctions)
|
|
994
|
+
{
|
|
995
|
+
Object::sendMessage<void>(this, _MTL_PRIVATE_SEL(setFragmentLinkedFunctions_), fragmentLinkedFunctions);
|
|
996
|
+
}
|
|
997
|
+
|
|
998
|
+
_MTL_INLINE void MTL::RenderPipelineDescriptor::setFragmentPreloadedLibraries(const NS::Array* fragmentPreloadedLibraries)
|
|
999
|
+
{
|
|
1000
|
+
Object::sendMessage<void>(this, _MTL_PRIVATE_SEL(setFragmentPreloadedLibraries_), fragmentPreloadedLibraries);
|
|
1001
|
+
}
|
|
1002
|
+
|
|
1003
|
+
_MTL_INLINE void MTL::RenderPipelineDescriptor::setInputPrimitiveTopology(MTL::PrimitiveTopologyClass inputPrimitiveTopology)
|
|
1004
|
+
{
|
|
1005
|
+
Object::sendMessage<void>(this, _MTL_PRIVATE_SEL(setInputPrimitiveTopology_), inputPrimitiveTopology);
|
|
1006
|
+
}
|
|
1007
|
+
|
|
1008
|
+
_MTL_INLINE void MTL::RenderPipelineDescriptor::setLabel(const NS::String* label)
|
|
1009
|
+
{
|
|
1010
|
+
Object::sendMessage<void>(this, _MTL_PRIVATE_SEL(setLabel_), label);
|
|
1011
|
+
}
|
|
1012
|
+
|
|
1013
|
+
_MTL_INLINE void MTL::RenderPipelineDescriptor::setMaxFragmentCallStackDepth(NS::UInteger maxFragmentCallStackDepth)
|
|
1014
|
+
{
|
|
1015
|
+
Object::sendMessage<void>(this, _MTL_PRIVATE_SEL(setMaxFragmentCallStackDepth_), maxFragmentCallStackDepth);
|
|
1016
|
+
}
|
|
1017
|
+
|
|
1018
|
+
_MTL_INLINE void MTL::RenderPipelineDescriptor::setMaxTessellationFactor(NS::UInteger maxTessellationFactor)
|
|
1019
|
+
{
|
|
1020
|
+
Object::sendMessage<void>(this, _MTL_PRIVATE_SEL(setMaxTessellationFactor_), maxTessellationFactor);
|
|
1021
|
+
}
|
|
1022
|
+
|
|
1023
|
+
_MTL_INLINE void MTL::RenderPipelineDescriptor::setMaxVertexAmplificationCount(NS::UInteger maxVertexAmplificationCount)
|
|
1024
|
+
{
|
|
1025
|
+
Object::sendMessage<void>(this, _MTL_PRIVATE_SEL(setMaxVertexAmplificationCount_), maxVertexAmplificationCount);
|
|
1026
|
+
}
|
|
1027
|
+
|
|
1028
|
+
_MTL_INLINE void MTL::RenderPipelineDescriptor::setMaxVertexCallStackDepth(NS::UInteger maxVertexCallStackDepth)
|
|
1029
|
+
{
|
|
1030
|
+
Object::sendMessage<void>(this, _MTL_PRIVATE_SEL(setMaxVertexCallStackDepth_), maxVertexCallStackDepth);
|
|
1031
|
+
}
|
|
1032
|
+
|
|
1033
|
+
_MTL_INLINE void MTL::RenderPipelineDescriptor::setRasterSampleCount(NS::UInteger rasterSampleCount)
|
|
1034
|
+
{
|
|
1035
|
+
Object::sendMessage<void>(this, _MTL_PRIVATE_SEL(setRasterSampleCount_), rasterSampleCount);
|
|
1036
|
+
}
|
|
1037
|
+
|
|
1038
|
+
_MTL_INLINE void MTL::RenderPipelineDescriptor::setRasterizationEnabled(bool rasterizationEnabled)
|
|
1039
|
+
{
|
|
1040
|
+
Object::sendMessage<void>(this, _MTL_PRIVATE_SEL(setRasterizationEnabled_), rasterizationEnabled);
|
|
1041
|
+
}
|
|
1042
|
+
|
|
1043
|
+
_MTL_INLINE void MTL::RenderPipelineDescriptor::setSampleCount(NS::UInteger sampleCount)
|
|
1044
|
+
{
|
|
1045
|
+
Object::sendMessage<void>(this, _MTL_PRIVATE_SEL(setSampleCount_), sampleCount);
|
|
1046
|
+
}
|
|
1047
|
+
|
|
1048
|
+
_MTL_INLINE void MTL::RenderPipelineDescriptor::setShaderValidation(MTL::ShaderValidation shaderValidation)
|
|
1049
|
+
{
|
|
1050
|
+
Object::sendMessage<void>(this, _MTL_PRIVATE_SEL(setShaderValidation_), shaderValidation);
|
|
1051
|
+
}
|
|
1052
|
+
|
|
1053
|
+
_MTL_INLINE void MTL::RenderPipelineDescriptor::setStencilAttachmentPixelFormat(MTL::PixelFormat stencilAttachmentPixelFormat)
|
|
1054
|
+
{
|
|
1055
|
+
Object::sendMessage<void>(this, _MTL_PRIVATE_SEL(setStencilAttachmentPixelFormat_), stencilAttachmentPixelFormat);
|
|
1056
|
+
}
|
|
1057
|
+
|
|
1058
|
+
_MTL_INLINE void MTL::RenderPipelineDescriptor::setSupportAddingFragmentBinaryFunctions(bool supportAddingFragmentBinaryFunctions)
|
|
1059
|
+
{
|
|
1060
|
+
Object::sendMessage<void>(this, _MTL_PRIVATE_SEL(setSupportAddingFragmentBinaryFunctions_), supportAddingFragmentBinaryFunctions);
|
|
1061
|
+
}
|
|
1062
|
+
|
|
1063
|
+
_MTL_INLINE void MTL::RenderPipelineDescriptor::setSupportAddingVertexBinaryFunctions(bool supportAddingVertexBinaryFunctions)
|
|
1064
|
+
{
|
|
1065
|
+
Object::sendMessage<void>(this, _MTL_PRIVATE_SEL(setSupportAddingVertexBinaryFunctions_), supportAddingVertexBinaryFunctions);
|
|
1066
|
+
}
|
|
1067
|
+
|
|
1068
|
+
_MTL_INLINE void MTL::RenderPipelineDescriptor::setSupportIndirectCommandBuffers(bool supportIndirectCommandBuffers)
|
|
1069
|
+
{
|
|
1070
|
+
Object::sendMessage<void>(this, _MTL_PRIVATE_SEL(setSupportIndirectCommandBuffers_), supportIndirectCommandBuffers);
|
|
1071
|
+
}
|
|
1072
|
+
|
|
1073
|
+
_MTL_INLINE void MTL::RenderPipelineDescriptor::setTessellationControlPointIndexType(MTL::TessellationControlPointIndexType tessellationControlPointIndexType)
|
|
1074
|
+
{
|
|
1075
|
+
Object::sendMessage<void>(this, _MTL_PRIVATE_SEL(setTessellationControlPointIndexType_), tessellationControlPointIndexType);
|
|
1076
|
+
}
|
|
1077
|
+
|
|
1078
|
+
_MTL_INLINE void MTL::RenderPipelineDescriptor::setTessellationFactorFormat(MTL::TessellationFactorFormat tessellationFactorFormat)
|
|
1079
|
+
{
|
|
1080
|
+
Object::sendMessage<void>(this, _MTL_PRIVATE_SEL(setTessellationFactorFormat_), tessellationFactorFormat);
|
|
1081
|
+
}
|
|
1082
|
+
|
|
1083
|
+
_MTL_INLINE void MTL::RenderPipelineDescriptor::setTessellationFactorScaleEnabled(bool tessellationFactorScaleEnabled)
|
|
1084
|
+
{
|
|
1085
|
+
Object::sendMessage<void>(this, _MTL_PRIVATE_SEL(setTessellationFactorScaleEnabled_), tessellationFactorScaleEnabled);
|
|
1086
|
+
}
|
|
1087
|
+
|
|
1088
|
+
_MTL_INLINE void MTL::RenderPipelineDescriptor::setTessellationFactorStepFunction(MTL::TessellationFactorStepFunction tessellationFactorStepFunction)
|
|
1089
|
+
{
|
|
1090
|
+
Object::sendMessage<void>(this, _MTL_PRIVATE_SEL(setTessellationFactorStepFunction_), tessellationFactorStepFunction);
|
|
1091
|
+
}
|
|
1092
|
+
|
|
1093
|
+
_MTL_INLINE void MTL::RenderPipelineDescriptor::setTessellationOutputWindingOrder(MTL::Winding tessellationOutputWindingOrder)
|
|
1094
|
+
{
|
|
1095
|
+
Object::sendMessage<void>(this, _MTL_PRIVATE_SEL(setTessellationOutputWindingOrder_), tessellationOutputWindingOrder);
|
|
1096
|
+
}
|
|
1097
|
+
|
|
1098
|
+
_MTL_INLINE void MTL::RenderPipelineDescriptor::setTessellationPartitionMode(MTL::TessellationPartitionMode tessellationPartitionMode)
|
|
1099
|
+
{
|
|
1100
|
+
Object::sendMessage<void>(this, _MTL_PRIVATE_SEL(setTessellationPartitionMode_), tessellationPartitionMode);
|
|
1101
|
+
}
|
|
1102
|
+
|
|
1103
|
+
_MTL_INLINE void MTL::RenderPipelineDescriptor::setVertexDescriptor(const MTL::VertexDescriptor* vertexDescriptor)
|
|
1104
|
+
{
|
|
1105
|
+
Object::sendMessage<void>(this, _MTL_PRIVATE_SEL(setVertexDescriptor_), vertexDescriptor);
|
|
1106
|
+
}
|
|
1107
|
+
|
|
1108
|
+
_MTL_INLINE void MTL::RenderPipelineDescriptor::setVertexFunction(const MTL::Function* vertexFunction)
|
|
1109
|
+
{
|
|
1110
|
+
Object::sendMessage<void>(this, _MTL_PRIVATE_SEL(setVertexFunction_), vertexFunction);
|
|
1111
|
+
}
|
|
1112
|
+
|
|
1113
|
+
_MTL_INLINE void MTL::RenderPipelineDescriptor::setVertexLinkedFunctions(const MTL::LinkedFunctions* vertexLinkedFunctions)
|
|
1114
|
+
{
|
|
1115
|
+
Object::sendMessage<void>(this, _MTL_PRIVATE_SEL(setVertexLinkedFunctions_), vertexLinkedFunctions);
|
|
1116
|
+
}
|
|
1117
|
+
|
|
1118
|
+
_MTL_INLINE void MTL::RenderPipelineDescriptor::setVertexPreloadedLibraries(const NS::Array* vertexPreloadedLibraries)
|
|
1119
|
+
{
|
|
1120
|
+
Object::sendMessage<void>(this, _MTL_PRIVATE_SEL(setVertexPreloadedLibraries_), vertexPreloadedLibraries);
|
|
1121
|
+
}
|
|
1122
|
+
|
|
1123
|
+
_MTL_INLINE MTL::ShaderValidation MTL::RenderPipelineDescriptor::shaderValidation() const
|
|
1124
|
+
{
|
|
1125
|
+
return Object::sendMessage<MTL::ShaderValidation>(this, _MTL_PRIVATE_SEL(shaderValidation));
|
|
1126
|
+
}
|
|
1127
|
+
|
|
1128
|
+
_MTL_INLINE MTL::PixelFormat MTL::RenderPipelineDescriptor::stencilAttachmentPixelFormat() const
|
|
1129
|
+
{
|
|
1130
|
+
return Object::sendMessage<MTL::PixelFormat>(this, _MTL_PRIVATE_SEL(stencilAttachmentPixelFormat));
|
|
1131
|
+
}
|
|
1132
|
+
|
|
1133
|
+
_MTL_INLINE bool MTL::RenderPipelineDescriptor::supportAddingFragmentBinaryFunctions() const
|
|
1134
|
+
{
|
|
1135
|
+
return Object::sendMessageSafe<bool>(this, _MTL_PRIVATE_SEL(supportAddingFragmentBinaryFunctions));
|
|
1136
|
+
}
|
|
1137
|
+
|
|
1138
|
+
_MTL_INLINE bool MTL::RenderPipelineDescriptor::supportAddingVertexBinaryFunctions() const
|
|
1139
|
+
{
|
|
1140
|
+
return Object::sendMessageSafe<bool>(this, _MTL_PRIVATE_SEL(supportAddingVertexBinaryFunctions));
|
|
1141
|
+
}
|
|
1142
|
+
|
|
1143
|
+
_MTL_INLINE bool MTL::RenderPipelineDescriptor::supportIndirectCommandBuffers() const
|
|
1144
|
+
{
|
|
1145
|
+
return Object::sendMessageSafe<bool>(this, _MTL_PRIVATE_SEL(supportIndirectCommandBuffers));
|
|
1146
|
+
}
|
|
1147
|
+
|
|
1148
|
+
_MTL_INLINE MTL::TessellationControlPointIndexType MTL::RenderPipelineDescriptor::tessellationControlPointIndexType() const
|
|
1149
|
+
{
|
|
1150
|
+
return Object::sendMessage<MTL::TessellationControlPointIndexType>(this, _MTL_PRIVATE_SEL(tessellationControlPointIndexType));
|
|
1151
|
+
}
|
|
1152
|
+
|
|
1153
|
+
_MTL_INLINE MTL::TessellationFactorFormat MTL::RenderPipelineDescriptor::tessellationFactorFormat() const
|
|
1154
|
+
{
|
|
1155
|
+
return Object::sendMessage<MTL::TessellationFactorFormat>(this, _MTL_PRIVATE_SEL(tessellationFactorFormat));
|
|
1156
|
+
}
|
|
1157
|
+
|
|
1158
|
+
_MTL_INLINE bool MTL::RenderPipelineDescriptor::tessellationFactorScaleEnabled() const
|
|
1159
|
+
{
|
|
1160
|
+
return Object::sendMessage<bool>(this, _MTL_PRIVATE_SEL(isTessellationFactorScaleEnabled));
|
|
1161
|
+
}
|
|
1162
|
+
|
|
1163
|
+
_MTL_INLINE MTL::TessellationFactorStepFunction MTL::RenderPipelineDescriptor::tessellationFactorStepFunction() const
|
|
1164
|
+
{
|
|
1165
|
+
return Object::sendMessage<MTL::TessellationFactorStepFunction>(this, _MTL_PRIVATE_SEL(tessellationFactorStepFunction));
|
|
1166
|
+
}
|
|
1167
|
+
|
|
1168
|
+
_MTL_INLINE MTL::Winding MTL::RenderPipelineDescriptor::tessellationOutputWindingOrder() const
|
|
1169
|
+
{
|
|
1170
|
+
return Object::sendMessage<MTL::Winding>(this, _MTL_PRIVATE_SEL(tessellationOutputWindingOrder));
|
|
1171
|
+
}
|
|
1172
|
+
|
|
1173
|
+
_MTL_INLINE MTL::TessellationPartitionMode MTL::RenderPipelineDescriptor::tessellationPartitionMode() const
|
|
1174
|
+
{
|
|
1175
|
+
return Object::sendMessage<MTL::TessellationPartitionMode>(this, _MTL_PRIVATE_SEL(tessellationPartitionMode));
|
|
1176
|
+
}
|
|
1177
|
+
|
|
1178
|
+
_MTL_INLINE MTL::PipelineBufferDescriptorArray* MTL::RenderPipelineDescriptor::vertexBuffers() const
|
|
1179
|
+
{
|
|
1180
|
+
return Object::sendMessage<MTL::PipelineBufferDescriptorArray*>(this, _MTL_PRIVATE_SEL(vertexBuffers));
|
|
1181
|
+
}
|
|
1182
|
+
|
|
1183
|
+
_MTL_INLINE MTL::VertexDescriptor* MTL::RenderPipelineDescriptor::vertexDescriptor() const
|
|
1184
|
+
{
|
|
1185
|
+
return Object::sendMessage<MTL::VertexDescriptor*>(this, _MTL_PRIVATE_SEL(vertexDescriptor));
|
|
1186
|
+
}
|
|
1187
|
+
|
|
1188
|
+
_MTL_INLINE MTL::Function* MTL::RenderPipelineDescriptor::vertexFunction() const
|
|
1189
|
+
{
|
|
1190
|
+
return Object::sendMessage<MTL::Function*>(this, _MTL_PRIVATE_SEL(vertexFunction));
|
|
1191
|
+
}
|
|
1192
|
+
|
|
1193
|
+
_MTL_INLINE MTL::LinkedFunctions* MTL::RenderPipelineDescriptor::vertexLinkedFunctions() const
|
|
1194
|
+
{
|
|
1195
|
+
return Object::sendMessage<MTL::LinkedFunctions*>(this, _MTL_PRIVATE_SEL(vertexLinkedFunctions));
|
|
1196
|
+
}
|
|
1197
|
+
|
|
1198
|
+
_MTL_INLINE NS::Array* MTL::RenderPipelineDescriptor::vertexPreloadedLibraries() const
|
|
1199
|
+
{
|
|
1200
|
+
return Object::sendMessage<NS::Array*>(this, _MTL_PRIVATE_SEL(vertexPreloadedLibraries));
|
|
1201
|
+
}
|
|
1202
|
+
|
|
1203
|
+
_MTL_INLINE MTL::RenderPipelineFunctionsDescriptor* MTL::RenderPipelineFunctionsDescriptor::alloc()
|
|
1204
|
+
{
|
|
1205
|
+
return NS::Object::alloc<MTL::RenderPipelineFunctionsDescriptor>(_MTL_PRIVATE_CLS(MTLRenderPipelineFunctionsDescriptor));
|
|
1206
|
+
}
|
|
1207
|
+
|
|
1208
|
+
_MTL_INLINE NS::Array* MTL::RenderPipelineFunctionsDescriptor::fragmentAdditionalBinaryFunctions() const
|
|
1209
|
+
{
|
|
1210
|
+
return Object::sendMessage<NS::Array*>(this, _MTL_PRIVATE_SEL(fragmentAdditionalBinaryFunctions));
|
|
1211
|
+
}
|
|
1212
|
+
|
|
1213
|
+
_MTL_INLINE MTL::RenderPipelineFunctionsDescriptor* MTL::RenderPipelineFunctionsDescriptor::init()
|
|
1214
|
+
{
|
|
1215
|
+
return NS::Object::init<MTL::RenderPipelineFunctionsDescriptor>();
|
|
1216
|
+
}
|
|
1217
|
+
|
|
1218
|
+
_MTL_INLINE void MTL::RenderPipelineFunctionsDescriptor::setFragmentAdditionalBinaryFunctions(const NS::Array* fragmentAdditionalBinaryFunctions)
|
|
1219
|
+
{
|
|
1220
|
+
Object::sendMessage<void>(this, _MTL_PRIVATE_SEL(setFragmentAdditionalBinaryFunctions_), fragmentAdditionalBinaryFunctions);
|
|
1221
|
+
}
|
|
1222
|
+
|
|
1223
|
+
_MTL_INLINE void MTL::RenderPipelineFunctionsDescriptor::setTileAdditionalBinaryFunctions(const NS::Array* tileAdditionalBinaryFunctions)
|
|
1224
|
+
{
|
|
1225
|
+
Object::sendMessage<void>(this, _MTL_PRIVATE_SEL(setTileAdditionalBinaryFunctions_), tileAdditionalBinaryFunctions);
|
|
1226
|
+
}
|
|
1227
|
+
|
|
1228
|
+
_MTL_INLINE void MTL::RenderPipelineFunctionsDescriptor::setVertexAdditionalBinaryFunctions(const NS::Array* vertexAdditionalBinaryFunctions)
|
|
1229
|
+
{
|
|
1230
|
+
Object::sendMessage<void>(this, _MTL_PRIVATE_SEL(setVertexAdditionalBinaryFunctions_), vertexAdditionalBinaryFunctions);
|
|
1231
|
+
}
|
|
1232
|
+
|
|
1233
|
+
_MTL_INLINE NS::Array* MTL::RenderPipelineFunctionsDescriptor::tileAdditionalBinaryFunctions() const
|
|
1234
|
+
{
|
|
1235
|
+
return Object::sendMessage<NS::Array*>(this, _MTL_PRIVATE_SEL(tileAdditionalBinaryFunctions));
|
|
1236
|
+
}
|
|
1237
|
+
|
|
1238
|
+
_MTL_INLINE NS::Array* MTL::RenderPipelineFunctionsDescriptor::vertexAdditionalBinaryFunctions() const
|
|
1239
|
+
{
|
|
1240
|
+
return Object::sendMessage<NS::Array*>(this, _MTL_PRIVATE_SEL(vertexAdditionalBinaryFunctions));
|
|
1241
|
+
}
|
|
1242
|
+
|
|
1243
|
+
_MTL_INLINE MTL::Device* MTL::RenderPipelineState::device() const
|
|
1244
|
+
{
|
|
1245
|
+
return Object::sendMessage<MTL::Device*>(this, _MTL_PRIVATE_SEL(device));
|
|
1246
|
+
}
|
|
1247
|
+
|
|
1248
|
+
_MTL_INLINE MTL::FunctionHandle* MTL::RenderPipelineState::functionHandle(const NS::String* name, MTL::RenderStages stage)
|
|
1249
|
+
{
|
|
1250
|
+
return Object::sendMessage<MTL::FunctionHandle*>(this, _MTL_PRIVATE_SEL(functionHandleWithName_stage_), name, stage);
|
|
1251
|
+
}
|
|
1252
|
+
|
|
1253
|
+
_MTL_INLINE MTL::FunctionHandle* MTL::RenderPipelineState::functionHandle(const MTL4::BinaryFunction* function, MTL::RenderStages stage)
|
|
1254
|
+
{
|
|
1255
|
+
return Object::sendMessage<MTL::FunctionHandle*>(this, _MTL_PRIVATE_SEL(functionHandleWithBinaryFunction_stage_), function, stage);
|
|
1256
|
+
}
|
|
1257
|
+
|
|
1258
|
+
_MTL_INLINE MTL::FunctionHandle* MTL::RenderPipelineState::functionHandle(const MTL::Function* function, MTL::RenderStages stage)
|
|
1259
|
+
{
|
|
1260
|
+
return Object::sendMessage<MTL::FunctionHandle*>(this, _MTL_PRIVATE_SEL(functionHandleWithFunction_stage_), function, stage);
|
|
1261
|
+
}
|
|
1262
|
+
|
|
1263
|
+
_MTL_INLINE MTL::ResourceID MTL::RenderPipelineState::gpuResourceID() const
|
|
1264
|
+
{
|
|
1265
|
+
return Object::sendMessage<MTL::ResourceID>(this, _MTL_PRIVATE_SEL(gpuResourceID));
|
|
1266
|
+
}
|
|
1267
|
+
|
|
1268
|
+
_MTL_INLINE NS::UInteger MTL::RenderPipelineState::imageblockMemoryLength(MTL::Size imageblockDimensions)
|
|
1269
|
+
{
|
|
1270
|
+
return Object::sendMessage<NS::UInteger>(this, _MTL_PRIVATE_SEL(imageblockMemoryLengthForDimensions_), imageblockDimensions);
|
|
1271
|
+
}
|
|
1272
|
+
|
|
1273
|
+
_MTL_INLINE NS::UInteger MTL::RenderPipelineState::imageblockSampleLength() const
|
|
1274
|
+
{
|
|
1275
|
+
return Object::sendMessage<NS::UInteger>(this, _MTL_PRIVATE_SEL(imageblockSampleLength));
|
|
1276
|
+
}
|
|
1277
|
+
|
|
1278
|
+
_MTL_INLINE NS::String* MTL::RenderPipelineState::label() const
|
|
1279
|
+
{
|
|
1280
|
+
return Object::sendMessage<NS::String*>(this, _MTL_PRIVATE_SEL(label));
|
|
1281
|
+
}
|
|
1282
|
+
|
|
1283
|
+
_MTL_INLINE NS::UInteger MTL::RenderPipelineState::maxTotalThreadgroupsPerMeshGrid() const
|
|
1284
|
+
{
|
|
1285
|
+
return Object::sendMessage<NS::UInteger>(this, _MTL_PRIVATE_SEL(maxTotalThreadgroupsPerMeshGrid));
|
|
1286
|
+
}
|
|
1287
|
+
|
|
1288
|
+
_MTL_INLINE NS::UInteger MTL::RenderPipelineState::maxTotalThreadsPerMeshThreadgroup() const
|
|
1289
|
+
{
|
|
1290
|
+
return Object::sendMessage<NS::UInteger>(this, _MTL_PRIVATE_SEL(maxTotalThreadsPerMeshThreadgroup));
|
|
1291
|
+
}
|
|
1292
|
+
|
|
1293
|
+
_MTL_INLINE NS::UInteger MTL::RenderPipelineState::maxTotalThreadsPerObjectThreadgroup() const
|
|
1294
|
+
{
|
|
1295
|
+
return Object::sendMessage<NS::UInteger>(this, _MTL_PRIVATE_SEL(maxTotalThreadsPerObjectThreadgroup));
|
|
1296
|
+
}
|
|
1297
|
+
|
|
1298
|
+
_MTL_INLINE NS::UInteger MTL::RenderPipelineState::maxTotalThreadsPerThreadgroup() const
|
|
1299
|
+
{
|
|
1300
|
+
return Object::sendMessage<NS::UInteger>(this, _MTL_PRIVATE_SEL(maxTotalThreadsPerThreadgroup));
|
|
1301
|
+
}
|
|
1302
|
+
|
|
1303
|
+
_MTL_INLINE NS::UInteger MTL::RenderPipelineState::meshThreadExecutionWidth() const
|
|
1304
|
+
{
|
|
1305
|
+
return Object::sendMessage<NS::UInteger>(this, _MTL_PRIVATE_SEL(meshThreadExecutionWidth));
|
|
1306
|
+
}
|
|
1307
|
+
|
|
1308
|
+
_MTL_INLINE MTL::IntersectionFunctionTable* MTL::RenderPipelineState::newIntersectionFunctionTable(const MTL::IntersectionFunctionTableDescriptor* descriptor, MTL::RenderStages stage)
|
|
1309
|
+
{
|
|
1310
|
+
return Object::sendMessage<MTL::IntersectionFunctionTable*>(this, _MTL_PRIVATE_SEL(newIntersectionFunctionTableWithDescriptor_stage_), descriptor, stage);
|
|
1311
|
+
}
|
|
1312
|
+
|
|
1313
|
+
_MTL_INLINE MTL4::PipelineDescriptor* MTL::RenderPipelineState::newRenderPipelineDescriptor()
|
|
1314
|
+
{
|
|
1315
|
+
return Object::sendMessage<MTL4::PipelineDescriptor*>(this, _MTL_PRIVATE_SEL(newRenderPipelineDescriptorForSpecialization));
|
|
1316
|
+
}
|
|
1317
|
+
|
|
1318
|
+
_MTL_INLINE MTL::RenderPipelineState* MTL::RenderPipelineState::newRenderPipelineState(const MTL4::RenderPipelineBinaryFunctionsDescriptor* binaryFunctionsDescriptor, NS::Error** error)
|
|
1319
|
+
{
|
|
1320
|
+
return Object::sendMessage<MTL::RenderPipelineState*>(this, _MTL_PRIVATE_SEL(newRenderPipelineStateWithBinaryFunctions_error_), binaryFunctionsDescriptor, error);
|
|
1321
|
+
}
|
|
1322
|
+
|
|
1323
|
+
_MTL_INLINE MTL::RenderPipelineState* MTL::RenderPipelineState::newRenderPipelineState(const MTL::RenderPipelineFunctionsDescriptor* additionalBinaryFunctions, NS::Error** error)
|
|
1324
|
+
{
|
|
1325
|
+
return Object::sendMessage<MTL::RenderPipelineState*>(this, _MTL_PRIVATE_SEL(newRenderPipelineStateWithAdditionalBinaryFunctions_error_), additionalBinaryFunctions, error);
|
|
1326
|
+
}
|
|
1327
|
+
|
|
1328
|
+
_MTL_INLINE MTL::VisibleFunctionTable* MTL::RenderPipelineState::newVisibleFunctionTable(const MTL::VisibleFunctionTableDescriptor* descriptor, MTL::RenderStages stage)
|
|
1329
|
+
{
|
|
1330
|
+
return Object::sendMessage<MTL::VisibleFunctionTable*>(this, _MTL_PRIVATE_SEL(newVisibleFunctionTableWithDescriptor_stage_), descriptor, stage);
|
|
1331
|
+
}
|
|
1332
|
+
|
|
1333
|
+
_MTL_INLINE NS::UInteger MTL::RenderPipelineState::objectThreadExecutionWidth() const
|
|
1334
|
+
{
|
|
1335
|
+
return Object::sendMessage<NS::UInteger>(this, _MTL_PRIVATE_SEL(objectThreadExecutionWidth));
|
|
1336
|
+
}
|
|
1337
|
+
|
|
1338
|
+
_MTL_INLINE MTL::RenderPipelineReflection* MTL::RenderPipelineState::reflection() const
|
|
1339
|
+
{
|
|
1340
|
+
return Object::sendMessage<MTL::RenderPipelineReflection*>(this, _MTL_PRIVATE_SEL(reflection));
|
|
1341
|
+
}
|
|
1342
|
+
|
|
1343
|
+
_MTL_INLINE MTL::Size MTL::RenderPipelineState::requiredThreadsPerMeshThreadgroup() const
|
|
1344
|
+
{
|
|
1345
|
+
return Object::sendMessage<MTL::Size>(this, _MTL_PRIVATE_SEL(requiredThreadsPerMeshThreadgroup));
|
|
1346
|
+
}
|
|
1347
|
+
|
|
1348
|
+
_MTL_INLINE MTL::Size MTL::RenderPipelineState::requiredThreadsPerObjectThreadgroup() const
|
|
1349
|
+
{
|
|
1350
|
+
return Object::sendMessage<MTL::Size>(this, _MTL_PRIVATE_SEL(requiredThreadsPerObjectThreadgroup));
|
|
1351
|
+
}
|
|
1352
|
+
|
|
1353
|
+
_MTL_INLINE MTL::Size MTL::RenderPipelineState::requiredThreadsPerTileThreadgroup() const
|
|
1354
|
+
{
|
|
1355
|
+
return Object::sendMessage<MTL::Size>(this, _MTL_PRIVATE_SEL(requiredThreadsPerTileThreadgroup));
|
|
1356
|
+
}
|
|
1357
|
+
|
|
1358
|
+
_MTL_INLINE MTL::ShaderValidation MTL::RenderPipelineState::shaderValidation() const
|
|
1359
|
+
{
|
|
1360
|
+
return Object::sendMessage<MTL::ShaderValidation>(this, _MTL_PRIVATE_SEL(shaderValidation));
|
|
1361
|
+
}
|
|
1362
|
+
|
|
1363
|
+
_MTL_INLINE bool MTL::RenderPipelineState::supportIndirectCommandBuffers() const
|
|
1364
|
+
{
|
|
1365
|
+
return Object::sendMessageSafe<bool>(this, _MTL_PRIVATE_SEL(supportIndirectCommandBuffers));
|
|
1366
|
+
}
|
|
1367
|
+
|
|
1368
|
+
_MTL_INLINE bool MTL::RenderPipelineState::threadgroupSizeMatchesTileSize() const
|
|
1369
|
+
{
|
|
1370
|
+
return Object::sendMessage<bool>(this, _MTL_PRIVATE_SEL(threadgroupSizeMatchesTileSize));
|
|
1371
|
+
}
|
|
1372
|
+
|
|
1373
|
+
_MTL_INLINE MTL::RenderPipelineColorAttachmentDescriptorArray* MTL::RenderPipelineColorAttachmentDescriptorArray::alloc()
|
|
1374
|
+
{
|
|
1375
|
+
return NS::Object::alloc<MTL::RenderPipelineColorAttachmentDescriptorArray>(_MTL_PRIVATE_CLS(MTLRenderPipelineColorAttachmentDescriptorArray));
|
|
1376
|
+
}
|
|
1377
|
+
|
|
1378
|
+
_MTL_INLINE MTL::RenderPipelineColorAttachmentDescriptorArray* MTL::RenderPipelineColorAttachmentDescriptorArray::init()
|
|
1379
|
+
{
|
|
1380
|
+
return NS::Object::init<MTL::RenderPipelineColorAttachmentDescriptorArray>();
|
|
1381
|
+
}
|
|
1382
|
+
|
|
1383
|
+
_MTL_INLINE MTL::RenderPipelineColorAttachmentDescriptor* MTL::RenderPipelineColorAttachmentDescriptorArray::object(NS::UInteger attachmentIndex)
|
|
1384
|
+
{
|
|
1385
|
+
return Object::sendMessage<MTL::RenderPipelineColorAttachmentDescriptor*>(this, _MTL_PRIVATE_SEL(objectAtIndexedSubscript_), attachmentIndex);
|
|
1386
|
+
}
|
|
1387
|
+
|
|
1388
|
+
_MTL_INLINE void MTL::RenderPipelineColorAttachmentDescriptorArray::setObject(const MTL::RenderPipelineColorAttachmentDescriptor* attachment, NS::UInteger attachmentIndex)
|
|
1389
|
+
{
|
|
1390
|
+
Object::sendMessage<void>(this, _MTL_PRIVATE_SEL(setObject_atIndexedSubscript_), attachment, attachmentIndex);
|
|
1391
|
+
}
|
|
1392
|
+
|
|
1393
|
+
_MTL_INLINE MTL::TileRenderPipelineColorAttachmentDescriptor* MTL::TileRenderPipelineColorAttachmentDescriptor::alloc()
|
|
1394
|
+
{
|
|
1395
|
+
return NS::Object::alloc<MTL::TileRenderPipelineColorAttachmentDescriptor>(_MTL_PRIVATE_CLS(MTLTileRenderPipelineColorAttachmentDescriptor));
|
|
1396
|
+
}
|
|
1397
|
+
|
|
1398
|
+
_MTL_INLINE MTL::TileRenderPipelineColorAttachmentDescriptor* MTL::TileRenderPipelineColorAttachmentDescriptor::init()
|
|
1399
|
+
{
|
|
1400
|
+
return NS::Object::init<MTL::TileRenderPipelineColorAttachmentDescriptor>();
|
|
1401
|
+
}
|
|
1402
|
+
|
|
1403
|
+
_MTL_INLINE MTL::PixelFormat MTL::TileRenderPipelineColorAttachmentDescriptor::pixelFormat() const
|
|
1404
|
+
{
|
|
1405
|
+
return Object::sendMessage<MTL::PixelFormat>(this, _MTL_PRIVATE_SEL(pixelFormat));
|
|
1406
|
+
}
|
|
1407
|
+
|
|
1408
|
+
_MTL_INLINE void MTL::TileRenderPipelineColorAttachmentDescriptor::setPixelFormat(MTL::PixelFormat pixelFormat)
|
|
1409
|
+
{
|
|
1410
|
+
Object::sendMessage<void>(this, _MTL_PRIVATE_SEL(setPixelFormat_), pixelFormat);
|
|
1411
|
+
}
|
|
1412
|
+
|
|
1413
|
+
_MTL_INLINE MTL::TileRenderPipelineColorAttachmentDescriptorArray* MTL::TileRenderPipelineColorAttachmentDescriptorArray::alloc()
|
|
1414
|
+
{
|
|
1415
|
+
return NS::Object::alloc<MTL::TileRenderPipelineColorAttachmentDescriptorArray>(_MTL_PRIVATE_CLS(MTLTileRenderPipelineColorAttachmentDescriptorArray));
|
|
1416
|
+
}
|
|
1417
|
+
|
|
1418
|
+
_MTL_INLINE MTL::TileRenderPipelineColorAttachmentDescriptorArray* MTL::TileRenderPipelineColorAttachmentDescriptorArray::init()
|
|
1419
|
+
{
|
|
1420
|
+
return NS::Object::init<MTL::TileRenderPipelineColorAttachmentDescriptorArray>();
|
|
1421
|
+
}
|
|
1422
|
+
|
|
1423
|
+
_MTL_INLINE MTL::TileRenderPipelineColorAttachmentDescriptor* MTL::TileRenderPipelineColorAttachmentDescriptorArray::object(NS::UInteger attachmentIndex)
|
|
1424
|
+
{
|
|
1425
|
+
return Object::sendMessage<MTL::TileRenderPipelineColorAttachmentDescriptor*>(this, _MTL_PRIVATE_SEL(objectAtIndexedSubscript_), attachmentIndex);
|
|
1426
|
+
}
|
|
1427
|
+
|
|
1428
|
+
_MTL_INLINE void MTL::TileRenderPipelineColorAttachmentDescriptorArray::setObject(const MTL::TileRenderPipelineColorAttachmentDescriptor* attachment, NS::UInteger attachmentIndex)
|
|
1429
|
+
{
|
|
1430
|
+
Object::sendMessage<void>(this, _MTL_PRIVATE_SEL(setObject_atIndexedSubscript_), attachment, attachmentIndex);
|
|
1431
|
+
}
|
|
1432
|
+
|
|
1433
|
+
_MTL_INLINE MTL::TileRenderPipelineDescriptor* MTL::TileRenderPipelineDescriptor::alloc()
|
|
1434
|
+
{
|
|
1435
|
+
return NS::Object::alloc<MTL::TileRenderPipelineDescriptor>(_MTL_PRIVATE_CLS(MTLTileRenderPipelineDescriptor));
|
|
1436
|
+
}
|
|
1437
|
+
|
|
1438
|
+
_MTL_INLINE NS::Array* MTL::TileRenderPipelineDescriptor::binaryArchives() const
|
|
1439
|
+
{
|
|
1440
|
+
return Object::sendMessage<NS::Array*>(this, _MTL_PRIVATE_SEL(binaryArchives));
|
|
1441
|
+
}
|
|
1442
|
+
|
|
1443
|
+
_MTL_INLINE MTL::TileRenderPipelineColorAttachmentDescriptorArray* MTL::TileRenderPipelineDescriptor::colorAttachments() const
|
|
1444
|
+
{
|
|
1445
|
+
return Object::sendMessage<MTL::TileRenderPipelineColorAttachmentDescriptorArray*>(this, _MTL_PRIVATE_SEL(colorAttachments));
|
|
1446
|
+
}
|
|
1447
|
+
|
|
1448
|
+
_MTL_INLINE MTL::TileRenderPipelineDescriptor* MTL::TileRenderPipelineDescriptor::init()
|
|
1449
|
+
{
|
|
1450
|
+
return NS::Object::init<MTL::TileRenderPipelineDescriptor>();
|
|
1451
|
+
}
|
|
1452
|
+
|
|
1453
|
+
_MTL_INLINE NS::String* MTL::TileRenderPipelineDescriptor::label() const
|
|
1454
|
+
{
|
|
1455
|
+
return Object::sendMessage<NS::String*>(this, _MTL_PRIVATE_SEL(label));
|
|
1456
|
+
}
|
|
1457
|
+
|
|
1458
|
+
_MTL_INLINE MTL::LinkedFunctions* MTL::TileRenderPipelineDescriptor::linkedFunctions() const
|
|
1459
|
+
{
|
|
1460
|
+
return Object::sendMessage<MTL::LinkedFunctions*>(this, _MTL_PRIVATE_SEL(linkedFunctions));
|
|
1461
|
+
}
|
|
1462
|
+
|
|
1463
|
+
_MTL_INLINE NS::UInteger MTL::TileRenderPipelineDescriptor::maxCallStackDepth() const
|
|
1464
|
+
{
|
|
1465
|
+
return Object::sendMessage<NS::UInteger>(this, _MTL_PRIVATE_SEL(maxCallStackDepth));
|
|
1466
|
+
}
|
|
1467
|
+
|
|
1468
|
+
_MTL_INLINE NS::UInteger MTL::TileRenderPipelineDescriptor::maxTotalThreadsPerThreadgroup() const
|
|
1469
|
+
{
|
|
1470
|
+
return Object::sendMessage<NS::UInteger>(this, _MTL_PRIVATE_SEL(maxTotalThreadsPerThreadgroup));
|
|
1471
|
+
}
|
|
1472
|
+
|
|
1473
|
+
_MTL_INLINE NS::Array* MTL::TileRenderPipelineDescriptor::preloadedLibraries() const
|
|
1474
|
+
{
|
|
1475
|
+
return Object::sendMessage<NS::Array*>(this, _MTL_PRIVATE_SEL(preloadedLibraries));
|
|
1476
|
+
}
|
|
1477
|
+
|
|
1478
|
+
_MTL_INLINE NS::UInteger MTL::TileRenderPipelineDescriptor::rasterSampleCount() const
|
|
1479
|
+
{
|
|
1480
|
+
return Object::sendMessage<NS::UInteger>(this, _MTL_PRIVATE_SEL(rasterSampleCount));
|
|
1481
|
+
}
|
|
1482
|
+
|
|
1483
|
+
_MTL_INLINE MTL::Size MTL::TileRenderPipelineDescriptor::requiredThreadsPerThreadgroup() const
|
|
1484
|
+
{
|
|
1485
|
+
return Object::sendMessage<MTL::Size>(this, _MTL_PRIVATE_SEL(requiredThreadsPerThreadgroup));
|
|
1486
|
+
}
|
|
1487
|
+
|
|
1488
|
+
_MTL_INLINE void MTL::TileRenderPipelineDescriptor::reset()
|
|
1489
|
+
{
|
|
1490
|
+
Object::sendMessage<void>(this, _MTL_PRIVATE_SEL(reset));
|
|
1491
|
+
}
|
|
1492
|
+
|
|
1493
|
+
_MTL_INLINE void MTL::TileRenderPipelineDescriptor::setBinaryArchives(const NS::Array* binaryArchives)
|
|
1494
|
+
{
|
|
1495
|
+
Object::sendMessage<void>(this, _MTL_PRIVATE_SEL(setBinaryArchives_), binaryArchives);
|
|
1496
|
+
}
|
|
1497
|
+
|
|
1498
|
+
_MTL_INLINE void MTL::TileRenderPipelineDescriptor::setLabel(const NS::String* label)
|
|
1499
|
+
{
|
|
1500
|
+
Object::sendMessage<void>(this, _MTL_PRIVATE_SEL(setLabel_), label);
|
|
1501
|
+
}
|
|
1502
|
+
|
|
1503
|
+
_MTL_INLINE void MTL::TileRenderPipelineDescriptor::setLinkedFunctions(const MTL::LinkedFunctions* linkedFunctions)
|
|
1504
|
+
{
|
|
1505
|
+
Object::sendMessage<void>(this, _MTL_PRIVATE_SEL(setLinkedFunctions_), linkedFunctions);
|
|
1506
|
+
}
|
|
1507
|
+
|
|
1508
|
+
_MTL_INLINE void MTL::TileRenderPipelineDescriptor::setMaxCallStackDepth(NS::UInteger maxCallStackDepth)
|
|
1509
|
+
{
|
|
1510
|
+
Object::sendMessage<void>(this, _MTL_PRIVATE_SEL(setMaxCallStackDepth_), maxCallStackDepth);
|
|
1511
|
+
}
|
|
1512
|
+
|
|
1513
|
+
_MTL_INLINE void MTL::TileRenderPipelineDescriptor::setMaxTotalThreadsPerThreadgroup(NS::UInteger maxTotalThreadsPerThreadgroup)
|
|
1514
|
+
{
|
|
1515
|
+
Object::sendMessage<void>(this, _MTL_PRIVATE_SEL(setMaxTotalThreadsPerThreadgroup_), maxTotalThreadsPerThreadgroup);
|
|
1516
|
+
}
|
|
1517
|
+
|
|
1518
|
+
_MTL_INLINE void MTL::TileRenderPipelineDescriptor::setPreloadedLibraries(const NS::Array* preloadedLibraries)
|
|
1519
|
+
{
|
|
1520
|
+
Object::sendMessage<void>(this, _MTL_PRIVATE_SEL(setPreloadedLibraries_), preloadedLibraries);
|
|
1521
|
+
}
|
|
1522
|
+
|
|
1523
|
+
_MTL_INLINE void MTL::TileRenderPipelineDescriptor::setRasterSampleCount(NS::UInteger rasterSampleCount)
|
|
1524
|
+
{
|
|
1525
|
+
Object::sendMessage<void>(this, _MTL_PRIVATE_SEL(setRasterSampleCount_), rasterSampleCount);
|
|
1526
|
+
}
|
|
1527
|
+
|
|
1528
|
+
_MTL_INLINE void MTL::TileRenderPipelineDescriptor::setRequiredThreadsPerThreadgroup(MTL::Size requiredThreadsPerThreadgroup)
|
|
1529
|
+
{
|
|
1530
|
+
Object::sendMessage<void>(this, _MTL_PRIVATE_SEL(setRequiredThreadsPerThreadgroup_), requiredThreadsPerThreadgroup);
|
|
1531
|
+
}
|
|
1532
|
+
|
|
1533
|
+
_MTL_INLINE void MTL::TileRenderPipelineDescriptor::setShaderValidation(MTL::ShaderValidation shaderValidation)
|
|
1534
|
+
{
|
|
1535
|
+
Object::sendMessage<void>(this, _MTL_PRIVATE_SEL(setShaderValidation_), shaderValidation);
|
|
1536
|
+
}
|
|
1537
|
+
|
|
1538
|
+
_MTL_INLINE void MTL::TileRenderPipelineDescriptor::setSupportAddingBinaryFunctions(bool supportAddingBinaryFunctions)
|
|
1539
|
+
{
|
|
1540
|
+
Object::sendMessage<void>(this, _MTL_PRIVATE_SEL(setSupportAddingBinaryFunctions_), supportAddingBinaryFunctions);
|
|
1541
|
+
}
|
|
1542
|
+
|
|
1543
|
+
_MTL_INLINE void MTL::TileRenderPipelineDescriptor::setThreadgroupSizeMatchesTileSize(bool threadgroupSizeMatchesTileSize)
|
|
1544
|
+
{
|
|
1545
|
+
Object::sendMessage<void>(this, _MTL_PRIVATE_SEL(setThreadgroupSizeMatchesTileSize_), threadgroupSizeMatchesTileSize);
|
|
1546
|
+
}
|
|
1547
|
+
|
|
1548
|
+
_MTL_INLINE void MTL::TileRenderPipelineDescriptor::setTileFunction(const MTL::Function* tileFunction)
|
|
1549
|
+
{
|
|
1550
|
+
Object::sendMessage<void>(this, _MTL_PRIVATE_SEL(setTileFunction_), tileFunction);
|
|
1551
|
+
}
|
|
1552
|
+
|
|
1553
|
+
_MTL_INLINE MTL::ShaderValidation MTL::TileRenderPipelineDescriptor::shaderValidation() const
|
|
1554
|
+
{
|
|
1555
|
+
return Object::sendMessage<MTL::ShaderValidation>(this, _MTL_PRIVATE_SEL(shaderValidation));
|
|
1556
|
+
}
|
|
1557
|
+
|
|
1558
|
+
_MTL_INLINE bool MTL::TileRenderPipelineDescriptor::supportAddingBinaryFunctions() const
|
|
1559
|
+
{
|
|
1560
|
+
return Object::sendMessageSafe<bool>(this, _MTL_PRIVATE_SEL(supportAddingBinaryFunctions));
|
|
1561
|
+
}
|
|
1562
|
+
|
|
1563
|
+
_MTL_INLINE bool MTL::TileRenderPipelineDescriptor::threadgroupSizeMatchesTileSize() const
|
|
1564
|
+
{
|
|
1565
|
+
return Object::sendMessage<bool>(this, _MTL_PRIVATE_SEL(threadgroupSizeMatchesTileSize));
|
|
1566
|
+
}
|
|
1567
|
+
|
|
1568
|
+
_MTL_INLINE MTL::PipelineBufferDescriptorArray* MTL::TileRenderPipelineDescriptor::tileBuffers() const
|
|
1569
|
+
{
|
|
1570
|
+
return Object::sendMessage<MTL::PipelineBufferDescriptorArray*>(this, _MTL_PRIVATE_SEL(tileBuffers));
|
|
1571
|
+
}
|
|
1572
|
+
|
|
1573
|
+
_MTL_INLINE MTL::Function* MTL::TileRenderPipelineDescriptor::tileFunction() const
|
|
1574
|
+
{
|
|
1575
|
+
return Object::sendMessage<MTL::Function*>(this, _MTL_PRIVATE_SEL(tileFunction));
|
|
1576
|
+
}
|
|
1577
|
+
|
|
1578
|
+
_MTL_INLINE MTL::MeshRenderPipelineDescriptor* MTL::MeshRenderPipelineDescriptor::alloc()
|
|
1579
|
+
{
|
|
1580
|
+
return NS::Object::alloc<MTL::MeshRenderPipelineDescriptor>(_MTL_PRIVATE_CLS(MTLMeshRenderPipelineDescriptor));
|
|
1581
|
+
}
|
|
1582
|
+
|
|
1583
|
+
_MTL_INLINE bool MTL::MeshRenderPipelineDescriptor::alphaToCoverageEnabled() const
|
|
1584
|
+
{
|
|
1585
|
+
return Object::sendMessage<bool>(this, _MTL_PRIVATE_SEL(isAlphaToCoverageEnabled));
|
|
1586
|
+
}
|
|
1587
|
+
|
|
1588
|
+
_MTL_INLINE bool MTL::MeshRenderPipelineDescriptor::alphaToOneEnabled() const
|
|
1589
|
+
{
|
|
1590
|
+
return Object::sendMessage<bool>(this, _MTL_PRIVATE_SEL(isAlphaToOneEnabled));
|
|
1591
|
+
}
|
|
1592
|
+
|
|
1593
|
+
_MTL_INLINE NS::Array* MTL::MeshRenderPipelineDescriptor::binaryArchives() const
|
|
1594
|
+
{
|
|
1595
|
+
return Object::sendMessage<NS::Array*>(this, _MTL_PRIVATE_SEL(binaryArchives));
|
|
1596
|
+
}
|
|
1597
|
+
|
|
1598
|
+
_MTL_INLINE MTL::RenderPipelineColorAttachmentDescriptorArray* MTL::MeshRenderPipelineDescriptor::colorAttachments() const
|
|
1599
|
+
{
|
|
1600
|
+
return Object::sendMessage<MTL::RenderPipelineColorAttachmentDescriptorArray*>(this, _MTL_PRIVATE_SEL(colorAttachments));
|
|
1601
|
+
}
|
|
1602
|
+
|
|
1603
|
+
_MTL_INLINE MTL::PixelFormat MTL::MeshRenderPipelineDescriptor::depthAttachmentPixelFormat() const
|
|
1604
|
+
{
|
|
1605
|
+
return Object::sendMessage<MTL::PixelFormat>(this, _MTL_PRIVATE_SEL(depthAttachmentPixelFormat));
|
|
1606
|
+
}
|
|
1607
|
+
|
|
1608
|
+
_MTL_INLINE MTL::PipelineBufferDescriptorArray* MTL::MeshRenderPipelineDescriptor::fragmentBuffers() const
|
|
1609
|
+
{
|
|
1610
|
+
return Object::sendMessage<MTL::PipelineBufferDescriptorArray*>(this, _MTL_PRIVATE_SEL(fragmentBuffers));
|
|
1611
|
+
}
|
|
1612
|
+
|
|
1613
|
+
_MTL_INLINE MTL::Function* MTL::MeshRenderPipelineDescriptor::fragmentFunction() const
|
|
1614
|
+
{
|
|
1615
|
+
return Object::sendMessage<MTL::Function*>(this, _MTL_PRIVATE_SEL(fragmentFunction));
|
|
1616
|
+
}
|
|
1617
|
+
|
|
1618
|
+
_MTL_INLINE MTL::LinkedFunctions* MTL::MeshRenderPipelineDescriptor::fragmentLinkedFunctions() const
|
|
1619
|
+
{
|
|
1620
|
+
return Object::sendMessage<MTL::LinkedFunctions*>(this, _MTL_PRIVATE_SEL(fragmentLinkedFunctions));
|
|
1621
|
+
}
|
|
1622
|
+
|
|
1623
|
+
_MTL_INLINE MTL::MeshRenderPipelineDescriptor* MTL::MeshRenderPipelineDescriptor::init()
|
|
1624
|
+
{
|
|
1625
|
+
return NS::Object::init<MTL::MeshRenderPipelineDescriptor>();
|
|
1626
|
+
}
|
|
1627
|
+
|
|
1628
|
+
_MTL_INLINE bool MTL::MeshRenderPipelineDescriptor::isAlphaToCoverageEnabled() const
|
|
1629
|
+
{
|
|
1630
|
+
return Object::sendMessage<bool>(this, _MTL_PRIVATE_SEL(isAlphaToCoverageEnabled));
|
|
1631
|
+
}
|
|
1632
|
+
|
|
1633
|
+
_MTL_INLINE bool MTL::MeshRenderPipelineDescriptor::isAlphaToOneEnabled() const
|
|
1634
|
+
{
|
|
1635
|
+
return Object::sendMessage<bool>(this, _MTL_PRIVATE_SEL(isAlphaToOneEnabled));
|
|
1636
|
+
}
|
|
1637
|
+
|
|
1638
|
+
_MTL_INLINE bool MTL::MeshRenderPipelineDescriptor::isRasterizationEnabled() const
|
|
1639
|
+
{
|
|
1640
|
+
return Object::sendMessage<bool>(this, _MTL_PRIVATE_SEL(isRasterizationEnabled));
|
|
1641
|
+
}
|
|
1642
|
+
|
|
1643
|
+
_MTL_INLINE NS::String* MTL::MeshRenderPipelineDescriptor::label() const
|
|
1644
|
+
{
|
|
1645
|
+
return Object::sendMessage<NS::String*>(this, _MTL_PRIVATE_SEL(label));
|
|
1646
|
+
}
|
|
1647
|
+
|
|
1648
|
+
_MTL_INLINE NS::UInteger MTL::MeshRenderPipelineDescriptor::maxTotalThreadgroupsPerMeshGrid() const
|
|
1649
|
+
{
|
|
1650
|
+
return Object::sendMessage<NS::UInteger>(this, _MTL_PRIVATE_SEL(maxTotalThreadgroupsPerMeshGrid));
|
|
1651
|
+
}
|
|
1652
|
+
|
|
1653
|
+
_MTL_INLINE NS::UInteger MTL::MeshRenderPipelineDescriptor::maxTotalThreadsPerMeshThreadgroup() const
|
|
1654
|
+
{
|
|
1655
|
+
return Object::sendMessage<NS::UInteger>(this, _MTL_PRIVATE_SEL(maxTotalThreadsPerMeshThreadgroup));
|
|
1656
|
+
}
|
|
1657
|
+
|
|
1658
|
+
_MTL_INLINE NS::UInteger MTL::MeshRenderPipelineDescriptor::maxTotalThreadsPerObjectThreadgroup() const
|
|
1659
|
+
{
|
|
1660
|
+
return Object::sendMessage<NS::UInteger>(this, _MTL_PRIVATE_SEL(maxTotalThreadsPerObjectThreadgroup));
|
|
1661
|
+
}
|
|
1662
|
+
|
|
1663
|
+
_MTL_INLINE NS::UInteger MTL::MeshRenderPipelineDescriptor::maxVertexAmplificationCount() const
|
|
1664
|
+
{
|
|
1665
|
+
return Object::sendMessage<NS::UInteger>(this, _MTL_PRIVATE_SEL(maxVertexAmplificationCount));
|
|
1666
|
+
}
|
|
1667
|
+
|
|
1668
|
+
_MTL_INLINE MTL::PipelineBufferDescriptorArray* MTL::MeshRenderPipelineDescriptor::meshBuffers() const
|
|
1669
|
+
{
|
|
1670
|
+
return Object::sendMessage<MTL::PipelineBufferDescriptorArray*>(this, _MTL_PRIVATE_SEL(meshBuffers));
|
|
1671
|
+
}
|
|
1672
|
+
|
|
1673
|
+
_MTL_INLINE MTL::Function* MTL::MeshRenderPipelineDescriptor::meshFunction() const
|
|
1674
|
+
{
|
|
1675
|
+
return Object::sendMessage<MTL::Function*>(this, _MTL_PRIVATE_SEL(meshFunction));
|
|
1676
|
+
}
|
|
1677
|
+
|
|
1678
|
+
_MTL_INLINE MTL::LinkedFunctions* MTL::MeshRenderPipelineDescriptor::meshLinkedFunctions() const
|
|
1679
|
+
{
|
|
1680
|
+
return Object::sendMessage<MTL::LinkedFunctions*>(this, _MTL_PRIVATE_SEL(meshLinkedFunctions));
|
|
1681
|
+
}
|
|
1682
|
+
|
|
1683
|
+
_MTL_INLINE bool MTL::MeshRenderPipelineDescriptor::meshThreadgroupSizeIsMultipleOfThreadExecutionWidth() const
|
|
1684
|
+
{
|
|
1685
|
+
return Object::sendMessage<bool>(this, _MTL_PRIVATE_SEL(meshThreadgroupSizeIsMultipleOfThreadExecutionWidth));
|
|
1686
|
+
}
|
|
1687
|
+
|
|
1688
|
+
_MTL_INLINE MTL::PipelineBufferDescriptorArray* MTL::MeshRenderPipelineDescriptor::objectBuffers() const
|
|
1689
|
+
{
|
|
1690
|
+
return Object::sendMessage<MTL::PipelineBufferDescriptorArray*>(this, _MTL_PRIVATE_SEL(objectBuffers));
|
|
1691
|
+
}
|
|
1692
|
+
|
|
1693
|
+
_MTL_INLINE MTL::Function* MTL::MeshRenderPipelineDescriptor::objectFunction() const
|
|
1694
|
+
{
|
|
1695
|
+
return Object::sendMessage<MTL::Function*>(this, _MTL_PRIVATE_SEL(objectFunction));
|
|
1696
|
+
}
|
|
1697
|
+
|
|
1698
|
+
_MTL_INLINE MTL::LinkedFunctions* MTL::MeshRenderPipelineDescriptor::objectLinkedFunctions() const
|
|
1699
|
+
{
|
|
1700
|
+
return Object::sendMessage<MTL::LinkedFunctions*>(this, _MTL_PRIVATE_SEL(objectLinkedFunctions));
|
|
1701
|
+
}
|
|
1702
|
+
|
|
1703
|
+
_MTL_INLINE bool MTL::MeshRenderPipelineDescriptor::objectThreadgroupSizeIsMultipleOfThreadExecutionWidth() const
|
|
1704
|
+
{
|
|
1705
|
+
return Object::sendMessage<bool>(this, _MTL_PRIVATE_SEL(objectThreadgroupSizeIsMultipleOfThreadExecutionWidth));
|
|
1706
|
+
}
|
|
1707
|
+
|
|
1708
|
+
_MTL_INLINE NS::UInteger MTL::MeshRenderPipelineDescriptor::payloadMemoryLength() const
|
|
1709
|
+
{
|
|
1710
|
+
return Object::sendMessage<NS::UInteger>(this, _MTL_PRIVATE_SEL(payloadMemoryLength));
|
|
1711
|
+
}
|
|
1712
|
+
|
|
1713
|
+
_MTL_INLINE NS::UInteger MTL::MeshRenderPipelineDescriptor::rasterSampleCount() const
|
|
1714
|
+
{
|
|
1715
|
+
return Object::sendMessage<NS::UInteger>(this, _MTL_PRIVATE_SEL(rasterSampleCount));
|
|
1716
|
+
}
|
|
1717
|
+
|
|
1718
|
+
_MTL_INLINE bool MTL::MeshRenderPipelineDescriptor::rasterizationEnabled() const
|
|
1719
|
+
{
|
|
1720
|
+
return Object::sendMessage<bool>(this, _MTL_PRIVATE_SEL(isRasterizationEnabled));
|
|
1721
|
+
}
|
|
1722
|
+
|
|
1723
|
+
_MTL_INLINE MTL::Size MTL::MeshRenderPipelineDescriptor::requiredThreadsPerMeshThreadgroup() const
|
|
1724
|
+
{
|
|
1725
|
+
return Object::sendMessage<MTL::Size>(this, _MTL_PRIVATE_SEL(requiredThreadsPerMeshThreadgroup));
|
|
1726
|
+
}
|
|
1727
|
+
|
|
1728
|
+
_MTL_INLINE MTL::Size MTL::MeshRenderPipelineDescriptor::requiredThreadsPerObjectThreadgroup() const
|
|
1729
|
+
{
|
|
1730
|
+
return Object::sendMessage<MTL::Size>(this, _MTL_PRIVATE_SEL(requiredThreadsPerObjectThreadgroup));
|
|
1731
|
+
}
|
|
1732
|
+
|
|
1733
|
+
_MTL_INLINE void MTL::MeshRenderPipelineDescriptor::reset()
|
|
1734
|
+
{
|
|
1735
|
+
Object::sendMessage<void>(this, _MTL_PRIVATE_SEL(reset));
|
|
1736
|
+
}
|
|
1737
|
+
|
|
1738
|
+
_MTL_INLINE void MTL::MeshRenderPipelineDescriptor::setAlphaToCoverageEnabled(bool alphaToCoverageEnabled)
|
|
1739
|
+
{
|
|
1740
|
+
Object::sendMessage<void>(this, _MTL_PRIVATE_SEL(setAlphaToCoverageEnabled_), alphaToCoverageEnabled);
|
|
1741
|
+
}
|
|
1742
|
+
|
|
1743
|
+
_MTL_INLINE void MTL::MeshRenderPipelineDescriptor::setAlphaToOneEnabled(bool alphaToOneEnabled)
|
|
1744
|
+
{
|
|
1745
|
+
Object::sendMessage<void>(this, _MTL_PRIVATE_SEL(setAlphaToOneEnabled_), alphaToOneEnabled);
|
|
1746
|
+
}
|
|
1747
|
+
|
|
1748
|
+
_MTL_INLINE void MTL::MeshRenderPipelineDescriptor::setBinaryArchives(const NS::Array* binaryArchives)
|
|
1749
|
+
{
|
|
1750
|
+
Object::sendMessage<void>(this, _MTL_PRIVATE_SEL(setBinaryArchives_), binaryArchives);
|
|
1751
|
+
}
|
|
1752
|
+
|
|
1753
|
+
_MTL_INLINE void MTL::MeshRenderPipelineDescriptor::setDepthAttachmentPixelFormat(MTL::PixelFormat depthAttachmentPixelFormat)
|
|
1754
|
+
{
|
|
1755
|
+
Object::sendMessage<void>(this, _MTL_PRIVATE_SEL(setDepthAttachmentPixelFormat_), depthAttachmentPixelFormat);
|
|
1756
|
+
}
|
|
1757
|
+
|
|
1758
|
+
_MTL_INLINE void MTL::MeshRenderPipelineDescriptor::setFragmentFunction(const MTL::Function* fragmentFunction)
|
|
1759
|
+
{
|
|
1760
|
+
Object::sendMessage<void>(this, _MTL_PRIVATE_SEL(setFragmentFunction_), fragmentFunction);
|
|
1761
|
+
}
|
|
1762
|
+
|
|
1763
|
+
_MTL_INLINE void MTL::MeshRenderPipelineDescriptor::setFragmentLinkedFunctions(const MTL::LinkedFunctions* fragmentLinkedFunctions)
|
|
1764
|
+
{
|
|
1765
|
+
Object::sendMessage<void>(this, _MTL_PRIVATE_SEL(setFragmentLinkedFunctions_), fragmentLinkedFunctions);
|
|
1766
|
+
}
|
|
1767
|
+
|
|
1768
|
+
_MTL_INLINE void MTL::MeshRenderPipelineDescriptor::setLabel(const NS::String* label)
|
|
1769
|
+
{
|
|
1770
|
+
Object::sendMessage<void>(this, _MTL_PRIVATE_SEL(setLabel_), label);
|
|
1771
|
+
}
|
|
1772
|
+
|
|
1773
|
+
_MTL_INLINE void MTL::MeshRenderPipelineDescriptor::setMaxTotalThreadgroupsPerMeshGrid(NS::UInteger maxTotalThreadgroupsPerMeshGrid)
|
|
1774
|
+
{
|
|
1775
|
+
Object::sendMessage<void>(this, _MTL_PRIVATE_SEL(setMaxTotalThreadgroupsPerMeshGrid_), maxTotalThreadgroupsPerMeshGrid);
|
|
1776
|
+
}
|
|
1777
|
+
|
|
1778
|
+
_MTL_INLINE void MTL::MeshRenderPipelineDescriptor::setMaxTotalThreadsPerMeshThreadgroup(NS::UInteger maxTotalThreadsPerMeshThreadgroup)
|
|
1779
|
+
{
|
|
1780
|
+
Object::sendMessage<void>(this, _MTL_PRIVATE_SEL(setMaxTotalThreadsPerMeshThreadgroup_), maxTotalThreadsPerMeshThreadgroup);
|
|
1781
|
+
}
|
|
1782
|
+
|
|
1783
|
+
_MTL_INLINE void MTL::MeshRenderPipelineDescriptor::setMaxTotalThreadsPerObjectThreadgroup(NS::UInteger maxTotalThreadsPerObjectThreadgroup)
|
|
1784
|
+
{
|
|
1785
|
+
Object::sendMessage<void>(this, _MTL_PRIVATE_SEL(setMaxTotalThreadsPerObjectThreadgroup_), maxTotalThreadsPerObjectThreadgroup);
|
|
1786
|
+
}
|
|
1787
|
+
|
|
1788
|
+
_MTL_INLINE void MTL::MeshRenderPipelineDescriptor::setMaxVertexAmplificationCount(NS::UInteger maxVertexAmplificationCount)
|
|
1789
|
+
{
|
|
1790
|
+
Object::sendMessage<void>(this, _MTL_PRIVATE_SEL(setMaxVertexAmplificationCount_), maxVertexAmplificationCount);
|
|
1791
|
+
}
|
|
1792
|
+
|
|
1793
|
+
_MTL_INLINE void MTL::MeshRenderPipelineDescriptor::setMeshFunction(const MTL::Function* meshFunction)
|
|
1794
|
+
{
|
|
1795
|
+
Object::sendMessage<void>(this, _MTL_PRIVATE_SEL(setMeshFunction_), meshFunction);
|
|
1796
|
+
}
|
|
1797
|
+
|
|
1798
|
+
_MTL_INLINE void MTL::MeshRenderPipelineDescriptor::setMeshLinkedFunctions(const MTL::LinkedFunctions* meshLinkedFunctions)
|
|
1799
|
+
{
|
|
1800
|
+
Object::sendMessage<void>(this, _MTL_PRIVATE_SEL(setMeshLinkedFunctions_), meshLinkedFunctions);
|
|
1801
|
+
}
|
|
1802
|
+
|
|
1803
|
+
_MTL_INLINE void MTL::MeshRenderPipelineDescriptor::setMeshThreadgroupSizeIsMultipleOfThreadExecutionWidth(bool meshThreadgroupSizeIsMultipleOfThreadExecutionWidth)
|
|
1804
|
+
{
|
|
1805
|
+
Object::sendMessage<void>(this, _MTL_PRIVATE_SEL(setMeshThreadgroupSizeIsMultipleOfThreadExecutionWidth_), meshThreadgroupSizeIsMultipleOfThreadExecutionWidth);
|
|
1806
|
+
}
|
|
1807
|
+
|
|
1808
|
+
_MTL_INLINE void MTL::MeshRenderPipelineDescriptor::setObjectFunction(const MTL::Function* objectFunction)
|
|
1809
|
+
{
|
|
1810
|
+
Object::sendMessage<void>(this, _MTL_PRIVATE_SEL(setObjectFunction_), objectFunction);
|
|
1811
|
+
}
|
|
1812
|
+
|
|
1813
|
+
_MTL_INLINE void MTL::MeshRenderPipelineDescriptor::setObjectLinkedFunctions(const MTL::LinkedFunctions* objectLinkedFunctions)
|
|
1814
|
+
{
|
|
1815
|
+
Object::sendMessage<void>(this, _MTL_PRIVATE_SEL(setObjectLinkedFunctions_), objectLinkedFunctions);
|
|
1816
|
+
}
|
|
1817
|
+
|
|
1818
|
+
_MTL_INLINE void MTL::MeshRenderPipelineDescriptor::setObjectThreadgroupSizeIsMultipleOfThreadExecutionWidth(bool objectThreadgroupSizeIsMultipleOfThreadExecutionWidth)
|
|
1819
|
+
{
|
|
1820
|
+
Object::sendMessage<void>(this, _MTL_PRIVATE_SEL(setObjectThreadgroupSizeIsMultipleOfThreadExecutionWidth_), objectThreadgroupSizeIsMultipleOfThreadExecutionWidth);
|
|
1821
|
+
}
|
|
1822
|
+
|
|
1823
|
+
_MTL_INLINE void MTL::MeshRenderPipelineDescriptor::setPayloadMemoryLength(NS::UInteger payloadMemoryLength)
|
|
1824
|
+
{
|
|
1825
|
+
Object::sendMessage<void>(this, _MTL_PRIVATE_SEL(setPayloadMemoryLength_), payloadMemoryLength);
|
|
1826
|
+
}
|
|
1827
|
+
|
|
1828
|
+
_MTL_INLINE void MTL::MeshRenderPipelineDescriptor::setRasterSampleCount(NS::UInteger rasterSampleCount)
|
|
1829
|
+
{
|
|
1830
|
+
Object::sendMessage<void>(this, _MTL_PRIVATE_SEL(setRasterSampleCount_), rasterSampleCount);
|
|
1831
|
+
}
|
|
1832
|
+
|
|
1833
|
+
_MTL_INLINE void MTL::MeshRenderPipelineDescriptor::setRasterizationEnabled(bool rasterizationEnabled)
|
|
1834
|
+
{
|
|
1835
|
+
Object::sendMessage<void>(this, _MTL_PRIVATE_SEL(setRasterizationEnabled_), rasterizationEnabled);
|
|
1836
|
+
}
|
|
1837
|
+
|
|
1838
|
+
_MTL_INLINE void MTL::MeshRenderPipelineDescriptor::setRequiredThreadsPerMeshThreadgroup(MTL::Size requiredThreadsPerMeshThreadgroup)
|
|
1839
|
+
{
|
|
1840
|
+
Object::sendMessage<void>(this, _MTL_PRIVATE_SEL(setRequiredThreadsPerMeshThreadgroup_), requiredThreadsPerMeshThreadgroup);
|
|
1841
|
+
}
|
|
1842
|
+
|
|
1843
|
+
_MTL_INLINE void MTL::MeshRenderPipelineDescriptor::setRequiredThreadsPerObjectThreadgroup(MTL::Size requiredThreadsPerObjectThreadgroup)
|
|
1844
|
+
{
|
|
1845
|
+
Object::sendMessage<void>(this, _MTL_PRIVATE_SEL(setRequiredThreadsPerObjectThreadgroup_), requiredThreadsPerObjectThreadgroup);
|
|
1846
|
+
}
|
|
1847
|
+
|
|
1848
|
+
_MTL_INLINE void MTL::MeshRenderPipelineDescriptor::setShaderValidation(MTL::ShaderValidation shaderValidation)
|
|
1849
|
+
{
|
|
1850
|
+
Object::sendMessage<void>(this, _MTL_PRIVATE_SEL(setShaderValidation_), shaderValidation);
|
|
1851
|
+
}
|
|
1852
|
+
|
|
1853
|
+
_MTL_INLINE void MTL::MeshRenderPipelineDescriptor::setStencilAttachmentPixelFormat(MTL::PixelFormat stencilAttachmentPixelFormat)
|
|
1854
|
+
{
|
|
1855
|
+
Object::sendMessage<void>(this, _MTL_PRIVATE_SEL(setStencilAttachmentPixelFormat_), stencilAttachmentPixelFormat);
|
|
1856
|
+
}
|
|
1857
|
+
|
|
1858
|
+
_MTL_INLINE void MTL::MeshRenderPipelineDescriptor::setSupportIndirectCommandBuffers(bool supportIndirectCommandBuffers)
|
|
1859
|
+
{
|
|
1860
|
+
Object::sendMessage<void>(this, _MTL_PRIVATE_SEL(setSupportIndirectCommandBuffers_), supportIndirectCommandBuffers);
|
|
1861
|
+
}
|
|
1862
|
+
|
|
1863
|
+
_MTL_INLINE MTL::ShaderValidation MTL::MeshRenderPipelineDescriptor::shaderValidation() const
|
|
1864
|
+
{
|
|
1865
|
+
return Object::sendMessage<MTL::ShaderValidation>(this, _MTL_PRIVATE_SEL(shaderValidation));
|
|
1866
|
+
}
|
|
1867
|
+
|
|
1868
|
+
_MTL_INLINE MTL::PixelFormat MTL::MeshRenderPipelineDescriptor::stencilAttachmentPixelFormat() const
|
|
1869
|
+
{
|
|
1870
|
+
return Object::sendMessage<MTL::PixelFormat>(this, _MTL_PRIVATE_SEL(stencilAttachmentPixelFormat));
|
|
1871
|
+
}
|
|
1872
|
+
|
|
1873
|
+
_MTL_INLINE bool MTL::MeshRenderPipelineDescriptor::supportIndirectCommandBuffers() const
|
|
1874
|
+
{
|
|
1875
|
+
return Object::sendMessageSafe<bool>(this, _MTL_PRIVATE_SEL(supportIndirectCommandBuffers));
|
|
1876
|
+
}
|