aboutsummaryrefslogtreecommitdiff
path: root/cheatsheet/raylib_structs.c
blob: cf70b8fdeeeed01d7f028289e0a33365fa2235cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23

    struct Color;       // Color type, RGBA (32bit)
    struct Rectangle;   // Rectangle type
    struct Image;       // Image type (multiple data formats supported)
                        // NOTE: Data stored in CPU memory (RAM)               
    struct Texture2D;   // Texture2D type (multiple internal formats supported)
                        // NOTE: Data stored in GPU memory (VRAM)
    struct RenderTexture2D; // RenderTexture2D type, for texture rendering
    struct SpriteFont;  // SpriteFont type, includes texture and chars data
    struct Vector2;     // Vector2 type
    struct Vector3;     // Vector3 type
    struct Matrix;      // Matrix type (OpenGL style 4x4)
    struct Camera;      // Camera type, defines 3d camera position/orientation
    struct Camera2D;    // Camera2D type, defines a 2d camera
    struct Mesh;        // Vertex data definning a mesh
    struct Shader;      // Shader type (generic shader)
    struct Material;    // Material type
    struct Light;       // Light type, defines light properties
    struct Model;       // Basic 3d Model type
    struct Ray;         // Ray type (useful for raycast)
    struct Wave;        // Wave type, defines audio wave data
    struct Sound;       // Basic Sound source and buffer