diff options
| author | Jacob Reckhard <[email protected]> | 2022-08-22 18:33:01 -0600 |
|---|---|---|
| committer | Jacob Reckhard <[email protected]> | 2022-08-22 18:33:01 -0600 |
| commit | 05af9d91093997bda24410faa715c99066fbf620 (patch) | |
| tree | cfd54420846b23bd38e07403bf11639aff4240ce /cheatsheet/raylib_structs.c | |
| parent | fd154fd8e8414760cb96a2eeb4c3a7dee02d5482 (diff) | |
| download | raylib.com-05af9d91093997bda24410faa715c99066fbf620.tar.gz raylib.com-05af9d91093997bda24410faa715c99066fbf620.zip | |
added cheatsheet generator
Diffstat (limited to 'cheatsheet/raylib_structs.c')
| -rw-r--r-- | cheatsheet/raylib_structs.c | 78 |
1 files changed, 37 insertions, 41 deletions
diff --git a/cheatsheet/raylib_structs.c b/cheatsheet/raylib_structs.c index 9e642a1..e271600 100644 --- a/cheatsheet/raylib_structs.c +++ b/cheatsheet/raylib_structs.c @@ -1,42 +1,38 @@ + struct Vector2; // Vector2, 2 components + struct Vector3; // Vector3, 3 components + struct Vector4; // Vector4, 4 components + struct Matrix; // Matrix, 4x4 components, column major, OpenGL style, right handed + struct Color; // Color, 4 components, R8G8B8A8 (32bit) + struct Rectangle; // Rectangle, 4 components - 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 GlyphInfo; // Font character glyph 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 RayCollision; // 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 - struct VrStereoConfig; // VR Stereo rendering configuration for simulator - - struct FilePathList; // File path list - + struct Image; // Image, pixel data stored in CPU memory (RAM) + struct Texture; // Texture, tex data stored in GPU memory (VRAM) + struct RenderTexture; // RenderTexture, fbo for texture rendering + struct NPatchInfo; // NPatchInfo, n-patch layout info + struct GlyphInfo; // GlyphInfo, font characters glyphs info + struct Font; // Font, font texture and GlyphInfo array data + + struct Camera3D; // Camera, defines position/orientation in 3d space + + struct Camera2D; // Camera2D, defines position/orientation in 2d space + struct Mesh; // Mesh, vertex data and vao/vbo + struct Shader; // Shader + struct MaterialMap; // MaterialMap + struct Material; // Material, includes shader and maps + struct Transform; // Transform, vectex transformation data + struct BoneInfo; // Bone, skeletal animation bone + struct Model; // Model, meshes, materials and animation data + struct ModelAnimation; // ModelAnimation + struct Ray; // Ray, ray for raycasting + struct RayCollision; // RayCollision, ray hit information + struct BoundingBox; // BoundingBox + + struct Wave; // Wave, audio wave data + struct AudioStream; // AudioStream, custom audio stream + struct Sound; // Sound + struct Music; // Music, audio stream, anything longer than ~10 seconds should be streamed + + struct VrDeviceInfo; // VrDeviceInfo, Head-Mounted-Display device parameters + struct VrStereoConfig; // VrStereoConfig, VR stereo rendering configuration for simulator + + struct FilePathList; // File path list |
