com.jme3.scene.plugins.blender.textures.blending
Class TextureBlenderFactory

java.lang.Object
  extended by com.jme3.scene.plugins.blender.textures.blending.TextureBlenderFactory

public class TextureBlenderFactory
extends java.lang.Object

This class creates the texture blending class depending on the texture type.


Constructor Summary
TextureBlenderFactory()
           
 
Method Summary
static TextureBlender alterTextureType(Image.Format format, TextureBlender textureBlender)
          This method changes the image format in the texture blender.
static TextureBlender createTextureBlender(Image.Format format, int flag, boolean negate, int blendType, float[] materialColor, float[] color, float colfac)
          This method creates the blending class.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextureBlenderFactory

public TextureBlenderFactory()
Method Detail

createTextureBlender

public static TextureBlender createTextureBlender(Image.Format format,
                                                  int flag,
                                                  boolean negate,
                                                  int blendType,
                                                  float[] materialColor,
                                                  float[] color,
                                                  float colfac)
This method creates the blending class.

Parameters:
format - the texture format
Returns:
texture blending class

alterTextureType

public static TextureBlender alterTextureType(Image.Format format,
                                              TextureBlender textureBlender)
This method changes the image format in the texture blender.

Parameters:
format - the new image format
textureBlender - the texture blender that will be altered
Returns:
altered texture blender