eu.joaocosta.minart.backend

Type members

Classlikes

final case class NativeResource(resourcePath: String) extends Resource

Resource loader that fetches the data from a file.

Resource loader that fetches the data from a file.

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

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.

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.

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

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

Key mappings for the Native platform, backed by SDL.

Key mappings for the Native platform, backed by SDL.

object SdlLoopRunner extends LoopRunner

Loop Runner for the native backend, backed by SDL.

Loop Runner for the native backend, backed by SDL.

final class SdlSurface(val data: Ptr[SDL_Surface]) extends MutableSurface with AutoCloseable

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.