Surface.adaptTo

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

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

Meta