-Implemented Proxy Textures (needed to solve the problem with ViewportTexture)

-Properly use hierarchy to initialize resources local to scene (solves problem of GUI in 3D)
This commit is contained in:
Juan Linietsky 2017-12-04 15:55:20 -03:00
parent faaa012b84
commit d438ac0aed
15 changed files with 109 additions and 14 deletions

View file

@ -193,6 +193,8 @@ public:
virtual void textures_keep_original(bool p_enable) = 0;
virtual void texture_set_proxy(RID p_proxy, RID p_base) = 0;
/* SKY API */
virtual RID sky_create() = 0;

View file

@ -168,6 +168,8 @@ public:
BIND1(textures_keep_original, bool)
BIND2(texture_set_proxy, RID, RID)
/* SKY API */
BIND0R(RID, sky_create)

View file

@ -100,6 +100,8 @@ public:
FUNC1(textures_keep_original, bool)
FUNC2(texture_set_proxy, RID, RID)
/* SKY API */
FUNCRID(sky)