mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-18 06:03:48 +00:00
get image metadata
adds ability to get image metadata without loading the texture since we are using the getOwned parameter correctly now new assets must have the full path to the image file when being created when the asset becomes owned again the image file path will be updated.
This commit is contained in:
parent
db8c565416
commit
bfe2401ebb
5 changed files with 139 additions and 23 deletions
|
|
@ -37,9 +37,11 @@
|
|||
#pragma warning( push )
|
||||
#pragma warning( disable : 4505 ) // unreferenced function removed.
|
||||
|
||||
#ifndef STB_IMAGE_IMPLEMENTATION
|
||||
#define STB_IMAGE_IMPLEMENTATION
|
||||
#define STB_IMAGE_STATIC
|
||||
#include "stb_image.h"
|
||||
#endif
|
||||
|
||||
#define STB_IMAGE_WRITE_IMPLEMENTATION
|
||||
#define STB_IMAGE_WRITE_STATIC
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue