Exemple #1
0
 public final void add(SceneNode node) {
   rootNode.add(node);
   Registry.getRenderer().addToSetupQueue(node);
 }
Exemple #2
0
 public void allocate() {
   if (isAllocated) return;
   textureID =
       String.valueOf(Registry.getTextureLibrary().loadTexture(textureResourceID, hasMipMap));
   isAllocated = true;
 }