metal4-triangle

command
v0.6.21 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 4, 2026 License: MIT Imports: 16 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL