You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, i want to have a custom background in my live wallpaper (i use a plane for that and it works already).
In preference screen i have added a preference to choose the color.
how can i reload/refresh the engine/renderer to apply the new color?
The new color will be used when i remove the wallpaper and set it again.
I have tried the following:
public void reset()
{
// stopRendering();
mTextureManager.reset();
mMaterialManager.reset();
// clearScenes();
mSceneInitialized = false;
}
(this method is called when SettingsPreferenceActivity.onCreate is called)
Edit: I read the preferences in initScene of the Renderer.
Thanks for help!
The text was updated successfully, but these errors were encountered:
Hello, i want to have a custom background in my live wallpaper (i use a plane for that and it works already).
In preference screen i have added a preference to choose the color.
how can i reload/refresh the engine/renderer to apply the new color?
The new color will be used when i remove the wallpaper and set it again.
I have tried the following:
public void reset()
{
// stopRendering();
mTextureManager.reset();
mMaterialManager.reset();
// clearScenes();
}
(this method is called when SettingsPreferenceActivity.onCreate is called)
Edit: I read the preferences in initScene of the Renderer.
Thanks for help!
The text was updated successfully, but these errors were encountered: