Image export functions.
This commit is contained in:
20
API.md
20
API.md
@@ -641,7 +641,7 @@ Set title for window ( Only PLATFORM_DESKTOP )
|
||||
|
||||
---
|
||||
|
||||
> RL_lcoreCloseWindow()
|
||||
> RL_CloseWindow()
|
||||
|
||||
Close window and unload OpenGL context and free all resources
|
||||
|
||||
@@ -1614,6 +1614,24 @@ Unload image from CPU memory ( RAM )
|
||||
|
||||
---
|
||||
|
||||
> success = RL_ExportImage( Image image, string fileName )
|
||||
|
||||
Export image data to file, returns true on success
|
||||
|
||||
- Failure return nil
|
||||
- Success return bool
|
||||
|
||||
---
|
||||
|
||||
> success = RL_ExportImageAsCode( Image image, string fileName )
|
||||
|
||||
Export image as code file defining an array of bytes, returns true on success
|
||||
|
||||
- Failure return nil
|
||||
- Success return bool
|
||||
|
||||
---
|
||||
|
||||
> texture = RL_LoadTexture( string fileName )
|
||||
|
||||
Load texture from file into GPU memory ( VRAM )
|
||||
|
||||
Reference in New Issue
Block a user