-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:
parent
faaa012b84
commit
d438ac0aed
15 changed files with 109 additions and 14 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -168,6 +168,8 @@ public:
|
|||
|
||||
BIND1(textures_keep_original, bool)
|
||||
|
||||
BIND2(texture_set_proxy, RID, RID)
|
||||
|
||||
/* SKY API */
|
||||
|
||||
BIND0R(RID, sky_create)
|
||||
|
|
|
|||
|
|
@ -100,6 +100,8 @@ public:
|
|||
|
||||
FUNC1(textures_keep_original, bool)
|
||||
|
||||
FUNC2(texture_set_proxy, RID, RID)
|
||||
|
||||
/* SKY API */
|
||||
|
||||
FUNCRID(sky)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue