Surface.adaptTo

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

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

Meta