Surface.adaptTo

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

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

Meta