Surface.adaptTo

Use this function to adapt the format of another Surface to this surface.

  1. bool adaptTo(ref Surface srfc)
    struct Surface
    @nogc
    bool
    adaptTo
    nothrow
  2. bool adaptTo(ubyte depth)

Meta