Surface.fromMetalLayer

Create a new Surface from a Metal layer.

  1. Surface fromMetalLayer(void* layer)
    struct Surface
    version(OSX)
    static
    fromMetalLayer
    (
    void* layer
    )
  2. Surface fromMetalLayer(void* layer)

Meta