Crate cafe

Source

Modules§

audio
joystick
keyboard
mouse
render

Structs§

Cafe
CafeBuilder
Color
GameSettings
Mat4
Rect
Vector2
Vector3
Vector4
WindowSettings

Enums§

Axis
Button
HatState
This is represented in SDL2 as a bitfield but obviously not all combinations make sense: 5 for instance would mean up and down at the same time… To simplify things I turn it into an enum which is how the SDL2 docs present it anyway (using macros).

Traits§

Game
UniformType

Type Aliases§

BVec2
BVec3
BVec4
IVec2
IVec3
IVec4
Point2D
Point3D
UVec2
UVec3
UVec4
Vec2
Vec3
Vec4