summaryrefslogtreecommitdiffhomepage
path: root/cheatsheet/raylib_structs.c
diff options
context:
space:
mode:
authorraysan5 <[email protected]>2017-07-24 19:45:46 +0200
committerraysan5 <[email protected]>2017-07-24 19:45:46 +0200
commit46ad8ae6eefc76a2e1f0ce88cdef2b919bb2d936 (patch)
treefae44589bea3de03639b0ce88d0adc29044ed062 /cheatsheet/raylib_structs.c
downloadraylib.com-46ad8ae6eefc76a2e1f0ce88cdef2b919bb2d936.tar.gz
raylib.com-46ad8ae6eefc76a2e1f0ce88cdef2b919bb2d936.zip
Added webpage
Moved from @raysan5/raylib/docs
Diffstat (limited to 'cheatsheet/raylib_structs.c')
-rw-r--r--cheatsheet/raylib_structs.c29
1 files changed, 29 insertions, 0 deletions
diff --git a/cheatsheet/raylib_structs.c b/cheatsheet/raylib_structs.c
new file mode 100644
index 0000000..9644147
--- /dev/null
+++ b/cheatsheet/raylib_structs.c
@@ -0,0 +1,29 @@
+
+ struct Color; // Color type, RGBA (32bit)
+ struct Rectangle; // Rectangle type
+ struct Vector2; // Vector2 type
+ struct Vector3; // Vector3 type
+ struct Matrix; // Matrix type (OpenGL style 4x4)
+
+ 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 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 RayHitInfo; // Raycast hit information
+
+ 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
+