Package

eu.joaocosta.minart

backend

Permalink

package backend

Visibility
  1. Public
  2. All

Type Members

  1. final case class NativeResource(resourcePath: String) extends Resource with Product with Serializable

    Permalink

    Resource loader that fetches the data from the executable resources.

    Resource loader that fetches the data from the executable resources. If that fails, it tries to fetch the data from a file.

    Due to scala-native limitations, the async methods are actually synchronous.

  2. class PpmCanvas extends SurfaceBackedCanvas

    Permalink

    A low level Canvas implementation that outputs the image in the PPM format to the stdout.

    A low level Canvas implementation that outputs the image in the PPM format to the stdout. This canvas doesn't support fetching the keyboard input.

  3. class SdlCanvas extends SurfaceBackedCanvas

    Permalink

    A low level Canvas implementation that shows the image in a SDL Window.

  4. final class SdlSurface extends MutableSurface with AutoCloseable

    Permalink

    Mutabe surface backed by an SDL surface.

    Mutabe surface backed by an SDL surface.

    This class assumes to be the only owner of the surface, and will free the surface when garbage collected.

Value Members

  1. object SdlKeyMapping extends KeyMapping[SDL_Keycode]

    Permalink

    Key mappings for the Native platform, backed by SDL.

  2. object SdlLoopRunner extends LoopRunner

    Permalink

    Loop Runner for the native backend, backed by SDL.

Ungrouped