summaryrefslogtreecommitdiff
path: root/scene/resources/sky.h
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2019-06-11 15:43:37 -0300
committerJuan Linietsky <reduzio@gmail.com>2020-02-11 11:53:26 +0100
commit3f335ce3d446372eeb9ed87f7e117099c4d2dd6a (patch)
tree669db7ddb21f328215a9c26e9bdaf2565db8c853 /scene/resources/sky.h
parent9ffe57a10eecf79ab8df2f0497d0387383755df3 (diff)
Texture refactor
-Texture renamed to Texture2D -TextureLayered as base now inherits 2Darray, cubemap and cubemap array -Removed all references to flags in textures (they will go in the shader) -Texture3D gone for now (will come back later done properly) -Create base rasterizer for RenderDevice, RasterizerRD
Diffstat (limited to 'scene/resources/sky.h')
-rw-r--r--scene/resources/sky.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/scene/resources/sky.h b/scene/resources/sky.h
index 70ea9c4c18..cc5ec79a1f 100644
--- a/scene/resources/sky.h
+++ b/scene/resources/sky.h
@@ -69,15 +69,15 @@ class PanoramaSky : public Sky {
private:
RID sky;
- Ref<Texture> panorama;
+ Ref<Texture2D> panorama;
protected:
static void _bind_methods();
virtual void _radiance_changed();
public:
- void set_panorama(const Ref<Texture> &p_panorama);
- Ref<Texture> get_panorama() const;
+ void set_panorama(const Ref<Texture2D> &p_panorama);
+ Ref<Texture2D> get_panorama() const;
virtual RID get_rid() const;