simoncsmith
New member
Hi,
We've been using the following code pattern to force an update of the VPR due to a dynamic environment texture data change (driven by our plugin).
LWInstUpdate *lwupdate = (LWInstUpdate*)ourplugin_global->global( LWINSTUPDATE_GLOBAL, GFUSE_TRANSIENT );
lwupdate(LWENVIRONMENT_HCLASS, ourplugin_environment_instance);
This used to ensure that after our texture data had changed, the VPR view would refresh.
Under 2018 this no longer happens and so once we have programatically changed the texture data in memeory, the VPR does not refresh.
Should we be using/adding a new call for forcing the invalidation of the environment texture now?
-Simon.
We've been using the following code pattern to force an update of the VPR due to a dynamic environment texture data change (driven by our plugin).
LWInstUpdate *lwupdate = (LWInstUpdate*)ourplugin_global->global( LWINSTUPDATE_GLOBAL, GFUSE_TRANSIENT );
lwupdate(LWENVIRONMENT_HCLASS, ourplugin_environment_instance);
This used to ensure that after our texture data had changed, the VPR view would refresh.
Under 2018 this no longer happens and so once we have programatically changed the texture data in memeory, the VPR does not refresh.
Should we be using/adding a new call for forcing the invalidation of the environment texture now?
-Simon.