[][src]Module raylib::core

Modules

audio

Contains code related to audio. RaylibAudio plays sounds and music.

camera

Utility code for using Raylib Camera3D and Camera2D

collision

Common collision handling code

color

Color manipulation helpers

drawing

Contains code related to drawing. Types that can be set as a surface to draw will implement the RaylibDraw trait

file

File manipulation functions. Should be parity with std::fs except on emscripten

input

Keyboard, Controller, and Mouse related functions

logging

Functions to change the behavior of raylib logging.

math
misc

Useful functions that don't fit anywhere else

models

3D Model, Mesh, and Animation

shaders

Code for the safe manipulation of shaders

storage

Code for saving raw data to permanent (file based) storage

text

Text and Font related functions Text manipulation functions are super unsafe so use rust String functions

texture

Image and texture related functions

vr

Vr related functions

window

Window manipulation functions

Structs

RaylibBuilder

A builder that allows more customization of the game window shown to the user before the RaylibHandle is created.

RaylibHandle

The main interface into the Raylib API.

RaylibThread

This token is used to ensure certain functions are only running on the same thread raylib was initialized from. This is useful for architectures like macos where cocoa can only be called from one thread.

Functions

init

Creates a RaylibBuilder for choosing window options before initialization.

init_window

Initializes window and OpenGL context.