summaryrefslogtreecommitdiffhomepage
path: root/cheatsheet/raylib_structs.c
blob: f22007e5541cd5c9a1855681cc3f9d7fc00a1cbd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39

    struct Vector2;         // Vector2 type
    struct Vector3;         // Vector3 type
    struct Vector4;         // Vector4 type
    struct Quaternion;      // Quaternion type
    struct Matrix;          // Matrix type (OpenGL style 4x4)
    struct Color;           // Color type, RGBA (32bit)
    struct Rectangle;       // Rectangle type
    
    struct Image;           // Image type (multiple pixel formats supported)
                            // NOTE: Data stored in CPU memory (RAM)               
    struct Texture;         // Texture type (multiple internal formats supported)
                            // NOTE: Data stored in GPU memory (VRAM)
    struct RenderTexture;   // RenderTexture type, for texture rendering
    struct NPatchInfo;      // N-Patch layout info
    struct CharInfo;        // Font character info
    struct Font;            // Font type, includes texture and chars data
    
    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 MaterialMap;     // Material texture map
    struct Material;        // Material type
    struct Model;           // Basic 3d Model type
    struct Transform;       // Transformation (used for bones)
    struct BoneInfo;        // Bone information
    struct ModelAnimation;  // Model animation data (bones and frames)
    struct Ray;             // Ray type (useful for raycast)
    struct RayHitInfo;      // Raycast hit information
    struct BoundingBox;     // Bounding box type for 3d mesh
    
    struct Wave;            // Wave type, defines audio wave data
    struct Sound;           // Basic Sound source and buffer
    struct Music;           // Music type (file streaming from memory)
    struct AudioStream;     // Raw audio stream type
    
    struct VrDeviceInfo;    // VR device parameters