hmi.graphics.opengl.scenegraph
Class GMaterialTranslator

java.lang.Object
  extended by hmi.graphics.opengl.scenegraph.GMaterialTranslator

public final class GMaterialTranslator
extends Object

translates a scenegraph GMaterial into GLMaterial

Author:
Job zwiers

Constructor Summary
private GMaterialTranslator()
           
 
Method Summary
static GLMaterial fromGMaterialToGLMaterial(GMaterial gmaterial)
          Translates GMaterial into GLMaterial
static GLTexture fromGTextureToGLTexture(GTexture gtex, int texUnit)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GMaterialTranslator

private GMaterialTranslator()
Method Detail

fromGMaterialToGLMaterial

public static GLMaterial fromGMaterialToGLMaterial(GMaterial gmaterial)
Translates GMaterial into GLMaterial


fromGTextureToGLTexture

public static GLTexture fromGTextureToGLTexture(GTexture gtex,
                                                int texUnit)