dsfml.system

Base module of SFML, defining various utilities.

Modules

clock
module dsfml.system.clock

Clock is a lightweight class for measuring time.

config
module dsfml.system.config

A module containing configuration settings.

err
module dsfml.system.err

By default, $(U err) outputs to the same location as stderr, which is the console if there's one available.

inputstream
module dsfml.system.inputstream

This interface allows users to define their own file input sources from which DSFML can load resources.

lock
module dsfml.system.lock

$(U Lock) is a RAII wrapper for DSFML's Mutex.

mutex
module dsfml.system.mutex

$(U Mutex) stands for "MUTual EXclusion". A mutex is a synchronization object, used when multiple threads are involved.

sleep
module dsfml.system.sleep

A module containing the sleep function.

string
module dsfml.system.string
Undocumented in source.
thread
module dsfml.system.thread

Threads provide a way to run multiple parts of the code in parallel. When you launch a new thread, the execution is split and both the new thread and the caller run in parallel.

time
module dsfml.system.time

$(U Time) encapsulates a time value in a flexible way. It allows to define a time value either as a number of seconds, milliseconds or microseconds. It also works the other way round: you can read a time value as either a number of seconds, milliseconds or microseconds.

vector2
module dsfml.system.vector2

$(U Vector2) is a simple structure that defines a mathematical vector with two coordinates (x and y). It can be used to represent anything that has two dimensions: a size, a point, a velocity, etc.

vector3
module dsfml.system.vector3

Vector3 is a simple structure that defines a mathematical vector with three coordinates (x, y and z). It can be used to represent anything that has three dimensions: a size, a point, a velocity, etc.

Public Imports

dsfml.system.clock
public import dsfml.system.clock;
dsfml.system.config
public import dsfml.system.config;
dsfml.system.err
public import dsfml.system.err;
dsfml.system.inputstream
public import dsfml.system.inputstream;
dsfml.system.lock
public import dsfml.system.lock;
dsfml.system.mutex
public import dsfml.system.mutex;
dsfml.system.sleep
public import dsfml.system.sleep;
dsfml.system.thread
public import dsfml.system.thread;
dsfml.system.vector2
public import dsfml.system.vector2;
dsfml.system.vector3
public import dsfml.system.vector3;

Meta