metal - Serbipunk/notes GitHub Wiki

metal best practice

https://developer.apple.com/library/archive/documentation/3DDrawing/Conceptual/MTLBestPracticesGuide/index.html

contents

  • MTKView - view that creates, configures, and displays Metal objects
  • MTKViewDelegate - provide a drawing method to a MTKView object and respond to rendering events
  • NSView 是 macOS 应用中所有用户界面元素的基类。它提供了一系列功能用于视图的绘制、事件处理、动画、自动布局等