Get the latest tech news

Drawing Graphics on Apple Vision with the Metal Rendering API


Drawing graphics efficiently for Apple Vision using the Metal rendering API - gnikoloff/drawing-graphics-on-apple-vision-with-metal-rendering-api

The system will then use that configuration to create a LayerRenderer that will hold information such as the pixel formats of the final color and depth buffers, how the textures used to present the rendered content to Apple Vision displays are organised, whether foveation is enabled and so on. The viewport sizes and view mappings into each render target depend on our textures' layout we specified when creating the LayerRenderer configuration used in Compositor Services earlier in the article. That is the right time to query the device anchor information, compute the correct view and projection matrices and submit any view-related drawing commands with Metal (basically all the steps we did in the "Vertex Amplification" chapter of this article).

Get the Android app

Or read this on Hacker News

Read more on:

Photo of graphics

graphics

Photo of metal

metal

Photo of apple vision

apple vision

Related news:

News photo

Apple Could Release $2,000 'Apple Vision' Headset Next Year

News photo

Gurman: Apple Could Release $2,000 'Apple Vision' Headset Next Year

News photo

Kuo: 2025 Apple Vision Pro to Get M5 Chip and Apple Intelligence