Crate radiant_rs [] [src]

Modules

blendmodes

A set of predefined blendmodes for use with Layer::set_blendmode().

scene

Optional scene abstraction.

utils

Optional utility features.

Structs

BlendMode

A blendmode for use with Layer::set_blendmode(). See blendmodes for a list of predefined modes.

Color

A color value consisting of four floating point values for the color channels red, green, blue and alpha.

Display

A target to render to, e.g. a window or full screen.

DisplayInfo

A struct describing a Display to be created.

Font

A font used for writing on a Layer.

FontInfo

A struct used to filter the result of Font::query_specific() or to describe a Font to be created from a system font via Font::from_info().

Input

Basic keyboard and mouse support.

InputDownIterator

An iterator over all keys all buttons currently pressed.

InputIterator

An iterator over all keys and buttons.

InputUpIterator

An iterator over all keys all buttons currently not pressed.

Layer

A non-blocking, thread-safe drawing target.

Mat4

A 4x4 matrix.

Monitor

An individual monitor, returned from Display::monitors().

RenderContext

A thread-safe render-context.

Renderer

A renderer is used to render Layers or Scenes to the Display.

Sprite

A sprite used for drawing on a Layer.

Vec2

A 2-dimensional vector.

Vec3

A 3-dimensional vector.

Enums

InputId

Input key and mousebutton ids

InputState

The current state of a key or mousebutton.

Traits

VecType