Surface.fromMetalLayer

Create a new Surface from a Metal layer.

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

Meta