mirror of
https://github.com/syoyo/tinygltf.git
synced 2026-07-23 22:48:54 +00:00
Allow opting out of STB_IMAGE dependency
Signed-off-by: Squareys <squareys@googlemail.com>
This commit is contained in:
@@ -101,6 +101,7 @@ if (!ret) {
|
||||
## Compile options
|
||||
|
||||
* `TINYGLTF_NOEXCEPTION` : Disable C++ exception in JSON parsing. You can use `-fno-exceptions` or by defining the symbol `JSON_NOEXCEPTION` and `TINYGLTF_NOEXCEPTION` to fully remove C++ exception codes when compiling TinyGLTF.
|
||||
* `TINYGLTF_NO_STB_IMAGE` : Do not load images with stb_image. Instead use `TinyGLTF::SetImageLoader(LoadimageDataFunction LoadImageData, void *user_data)` to set a callback for loading images.
|
||||
|
||||
### Saving gltTF 2.0 model
|
||||
|
||||
|
||||
Reference in New Issue
Block a user