From 8674c60781d766942105c99af5bde6bf49bf5513 Mon Sep 17 00:00:00 2001 From: Syoyo Fujita Date: Tue, 18 Dec 2018 21:59:23 +0900 Subject: [PATCH] Add document on TINYGLTF_NO_EXTERNAL_IMAGE. Fixes #123 --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 32d16d1..07e3f76 100644 --- a/README.md +++ b/README.md @@ -122,6 +122,7 @@ if (!ret) { * `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. * `TINYGLTF_NO_STB_IMAGE_WRITE` : Do not write images with stb_image_write. Instead use `TinyGLTF::SetImageWriter(WriteimageDataFunction WriteImageData, void *user_data)` to set a callback for writing images. +* `TINYGLTF_NO_EXTERNAL_IMAGE` : Do not try to load external image file. This option woulde be helpful if you do not want load image file during glTF parsing. ### Saving gltTF 2.0 model * [ ] Buffers.