Documentation
¶
Overview ¶
metal4-triangle renders a rotating triangle using the Metal 4 API.
The renderer follows Apple's "Drawing a triangle with Metal 4" flow: - MTKView-driven frame callbacks - triple-buffered command allocators and vertex buffers - MTL4 argument table bindings for vertex and viewport buffers - queue submission via waitForDrawable -> commit:count: -> signalDrawable
Click to show internal directories.
Click to hide internal directories.