summaryrefslogtreecommitdiffstats
path: root/modules/noise/noise_texture_3d.h
diff options
context:
space:
mode:
authorclayjohn <claynjohn@gmail.com>2023-08-08 10:56:54 +0200
committerclayjohn <claynjohn@gmail.com>2023-08-08 10:56:54 +0200
commit60d5571d6cf31c6c6aec8afe71ef295a4b45c5f8 (patch)
treedc7c4293728ad6c9e6b678e8db04554bda7b9e3b /modules/noise/noise_texture_3d.h
parent16a93563bfd3b02ca0a8f6df2026f3a3217f5571 (diff)
downloadredot-engine-60d5571d6cf31c6c6aec8afe71ef295a4b45c5f8.tar.gz
Remove GPU readback from NoiseTexture3D.get_format
Diffstat (limited to 'modules/noise/noise_texture_3d.h')
-rw-r--r--modules/noise/noise_texture_3d.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/noise/noise_texture_3d.h b/modules/noise/noise_texture_3d.h
index 397711ca98..13125efe7f 100644
--- a/modules/noise/noise_texture_3d.h
+++ b/modules/noise/noise_texture_3d.h
@@ -60,6 +60,8 @@ private:
Ref<Gradient> color_ramp;
Ref<Noise> noise;
+ Image::Format format = Image::FORMAT_L8;
+
void _thread_done(const TypedArray<Image> &p_data);
static void _thread_function(void *p_ud);