summaryrefslogtreecommitdiffhomepage
path: root/docs/cheatsheet/raylib_structs.c
diff options
context:
space:
mode:
authorvictorfisac <[email protected]>2017-03-06 09:40:04 +0100
committervictorfisac <[email protected]>2017-03-06 09:40:04 +0100
commit9261c3b8dc03d093bff5246a18ad9310ae8eaeb3 (patch)
treeaf87165723ac563ee1a7e1c605c7a4df821d74ea /docs/cheatsheet/raylib_structs.c
parente8630c78d069a1cba50b1a78108663ebc19e5b9b (diff)
parentb734802743f2089c8d649b27aea48ab71fa653b3 (diff)
downloadraylib-9261c3b8dc03d093bff5246a18ad9310ae8eaeb3.tar.gz
raylib-9261c3b8dc03d093bff5246a18ad9310ae8eaeb3.zip
Merge remote-tracking branch 'refs/remotes/raysan5/develop' into develop
Diffstat (limited to 'docs/cheatsheet/raylib_structs.c')
-rw-r--r--docs/cheatsheet/raylib_structs.c28
1 files changed, 28 insertions, 0 deletions
diff --git a/docs/cheatsheet/raylib_structs.c b/docs/cheatsheet/raylib_structs.c
new file mode 100644
index 00000000..dd7aa665
--- /dev/null
+++ b/docs/cheatsheet/raylib_structs.c
@@ -0,0 +1,28 @@
+
+ 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 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
+