|
@ -888,6 +888,7 @@ RLAPI Image LoadImage(const char *fileName); |
|
|
RLAPI Image LoadImageEx(Color *pixels, int width, int height); // Load image from Color array data (RGBA - 32bit) |
|
|
RLAPI Image LoadImageEx(Color *pixels, int width, int height); // Load image from Color array data (RGBA - 32bit) |
|
|
RLAPI Image LoadImagePro(void *data, int width, int height, int format); // Load image from raw data with parameters |
|
|
RLAPI Image LoadImagePro(void *data, int width, int height, int format); // Load image from raw data with parameters |
|
|
RLAPI Image LoadImageRaw(const char *fileName, int width, int height, int format, int headerSize); // Load image from RAW file data |
|
|
RLAPI Image LoadImageRaw(const char *fileName, int width, int height, int format, int headerSize); // Load image from RAW file data |
|
|
|
|
|
RLAPI void ExportImage(const char *fileName, Image image); // Export image as a PNG file |
|
|
RLAPI Texture2D LoadTexture(const char *fileName); // Load texture from file into GPU memory (VRAM) |
|
|
RLAPI Texture2D LoadTexture(const char *fileName); // Load texture from file into GPU memory (VRAM) |
|
|
RLAPI Texture2D LoadTextureFromImage(Image image); // Load texture from image data |
|
|
RLAPI Texture2D LoadTextureFromImage(Image image); // Load texture from image data |
|
|
RLAPI RenderTexture2D LoadRenderTexture(int width, int height); // Load texture for rendering (framebuffer) |
|
|
RLAPI RenderTexture2D LoadRenderTexture(int width, int height); // Load texture for rendering (framebuffer) |
|
@ -898,7 +899,7 @@ RLAPI Color *GetImageData(Image image); |
|
|
RLAPI int GetPixelDataSize(int width, int height, int format); // Get pixel data size in bytes (image or texture) |
|
|
RLAPI int GetPixelDataSize(int width, int height, int format); // Get pixel data size in bytes (image or texture) |
|
|
RLAPI Image GetTextureData(Texture2D texture); // Get pixel data from GPU texture and return an Image |
|
|
RLAPI Image GetTextureData(Texture2D texture); // Get pixel data from GPU texture and return an Image |
|
|
RLAPI void UpdateTexture(Texture2D texture, const void *pixels); // Update GPU texture with new data |
|
|
RLAPI void UpdateTexture(Texture2D texture, const void *pixels); // Update GPU texture with new data |
|
|
RLAPI void SaveImageAs(const char *fileName, Image image); // Save image to a PNG file |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Image manipulation functions |
|
|
// Image manipulation functions |
|
|
RLAPI Image ImageCopy(Image image); // Create an image duplicate (useful for transformations) |
|
|
RLAPI Image ImageCopy(Image image); // Create an image duplicate (useful for transformations) |
|
@ -916,6 +917,7 @@ RLAPI void ImageDither(Image *image, int rBpp, int gBpp, int bBpp, int aBpp); |
|
|
RLAPI Image ImageText(const char *text, int fontSize, Color color); // Create an image from text (default font) |
|
|
RLAPI Image ImageText(const char *text, int fontSize, Color color); // Create an image from text (default font) |
|
|
RLAPI Image ImageTextEx(SpriteFont font, const char *text, float fontSize, int spacing, Color tint); // Create an image from text (custom sprite font) |
|
|
RLAPI Image ImageTextEx(SpriteFont font, const char *text, float fontSize, int spacing, Color tint); // Create an image from text (custom sprite font) |
|
|
RLAPI void ImageDraw(Image *dst, Image src, Rectangle srcRec, Rectangle dstRec); // Draw a source image within a destination image |
|
|
RLAPI void ImageDraw(Image *dst, Image src, Rectangle srcRec, Rectangle dstRec); // Draw a source image within a destination image |
|
|
|
|
|
RLAPI void ImageDrawRectangle(Image *dst, Vector2 position, Rectangle rec, Color color); // Draw rectangle within an image |
|
|
RLAPI void ImageDrawText(Image *dst, Vector2 position, const char *text, int fontSize, Color color); // Draw text (default font) within an image (destination) |
|
|
RLAPI void ImageDrawText(Image *dst, Vector2 position, const char *text, int fontSize, Color color); // Draw text (default font) within an image (destination) |
|
|
RLAPI void ImageDrawTextEx(Image *dst, Vector2 position, SpriteFont font, const char *text, |
|
|
RLAPI void ImageDrawTextEx(Image *dst, Vector2 position, SpriteFont font, const char *text, |
|
|
float fontSize, int spacing, Color color); // Draw text (custom sprite font) within an image (destination) |
|
|
float fontSize, int spacing, Color color); // Draw text (custom sprite font) within an image (destination) |
|
@ -1007,6 +1009,7 @@ RLAPI void UnloadModel(Model model); |
|
|
// Mesh loading/unloading functions |
|
|
// Mesh loading/unloading functions |
|
|
RLAPI Mesh LoadMesh(const char *fileName); // Load mesh from file |
|
|
RLAPI Mesh LoadMesh(const char *fileName); // Load mesh from file |
|
|
RLAPI void UnloadMesh(Mesh *mesh); // Unload mesh from memory (RAM and/or VRAM) |
|
|
RLAPI void UnloadMesh(Mesh *mesh); // Unload mesh from memory (RAM and/or VRAM) |
|
|
|
|
|
RLAPI void ExportMesh(const char *fileName, Mesh mesh); // Export mesh as an OBJ file |
|
|
|
|
|
|
|
|
// Mesh manipulation functions |
|
|
// Mesh manipulation functions |
|
|
RLAPI BoundingBox MeshBoundingBox(Mesh mesh); // Compute mesh bounding box limits |
|
|
RLAPI BoundingBox MeshBoundingBox(Mesh mesh); // Compute mesh bounding box limits |
|
|