Function TileSet.autotileSetBitmask

Sets the bitmask of the subtile from an autotile given its coordinates. The value is the sum of the values in autotilebindings present in the subtile (e.g. a value of 5 means the bitmask has bindings in both the top left and top right).

void autotileSetBitmask (
  const(long) id,
  const(Vector2) bitmask,
  const(long) flag
) nothrow @nogc;