imglib: document "color" key of .wal_json
This commit is contained in:
parent
72a0a92d3a
commit
03b5537c80
|
|
@ -502,7 +502,11 @@ std::optional<texture_meta> load_wal_meta(
|
||||||
// are these rather than the ones pulled in from the image
|
// are these rather than the ones pulled in from the image
|
||||||
// itself. they must be integers.
|
// itself. they must be integers.
|
||||||
"width": 64,
|
"width": 64,
|
||||||
"height": 64
|
"height": 64,
|
||||||
|
|
||||||
|
// color to use for lighting bounces. if specified, this
|
||||||
|
// is used instead of averaging the pixels of the image.
|
||||||
|
"color": [255, 128, 64]
|
||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
std::optional<texture_meta> load_wal_json_meta(
|
std::optional<texture_meta> load_wal_json_meta(
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue