Back to project page min3d.
The source code is released under:
MIT License
If you think the Android project min3d listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.min3d.lib; /*www. j a v a 2s .c o m*/ import android.content.Context; import com.min3d.lib.core.Renderer; import com.min3d.lib.core.TextureManager; /** * Holds static references to TextureManager, Renderer, and the application Context. */ public class Shared { private static Context _context; private static Renderer _renderer; private static TextureManager _textureManager; public static Context context() { return _context; } public static void context(Context $c) { _context = $c; } public static Renderer renderer() { return _renderer; } public static void renderer(Renderer $r) { _renderer = $r; } /** * You must access the TextureManager instance through this accessor */ public static TextureManager textureManager() { return _textureManager; } public static void textureManager(TextureManager $bm) { _textureManager = $bm; } }