[][src]Module thorium::interchange

This module defines the interface between platform binary and game library.

Structs

Bitmap

Debug bitmap buffer

ControllerButton

A button on a controller (up or down).

Duration

A Duration type to represent a span of time, typically used for system timeouts.

GameInput

Right now we only accept xbox controller input.

GameMemory

Debug struct for the game's memory.

SoundBuffer

Debug sound buffer.

XBoxController

Platform independent representation for an XBox controller.

Type Definitions

GameGetSoundSamplesFn

Fills the sound buffer based on the prepared sound.

GameUpdateAndRenderFn

Responds to input, renders the frame, and prepares sound.