Procházet zdrojové kódy

Added function declaration

pull/432/head
raysan5 před 7 roky
rodič
revize
1f0f8c33fa
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. +1
    -1
      src/raylib.h

+ 1
- 1
src/raylib.h Zobrazit soubor

@ -869,7 +869,7 @@ RLAPI void UnloadImage(Image image);
RLAPI void UnloadTexture(Texture2D texture); // Unload texture from GPU memory (VRAM)
RLAPI void UnloadRenderTexture(RenderTexture2D target); // Unload render texture from GPU memory (VRAM)
RLAPI Color *GetImageData(Image image); // Get pixel data from image as a Color struct array
RLAPI int GetImageDataSize(Image image); // Get image data size in bytes
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 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

Načítá se…
Zrušit
Uložit