com.jme.system.dummy
Class DummyRenderer.TextureStateN

java.lang.Object
  extended by com.jme.scene.state.RenderState
      extended by com.jme.scene.state.TextureState
          extended by com.jme.system.dummy.DummyRenderer.TextureStateN
All Implemented Interfaces:
Savable
Enclosing class:
DummyRenderer

 class DummyRenderer.TextureStateN
extends TextureState


Nested Class Summary
 
Nested classes/interfaces inherited from class com.jme.scene.state.TextureState
TextureState.CorrectionType
 
Nested classes/interfaces inherited from class com.jme.scene.state.RenderState
RenderState.StateType
 
Field Summary
 
Fields inherited from class com.jme.scene.state.TextureState
automaticMipMaps, automaticMipMapsDetected, defaultTexture, firstTexture, idCache, lastTexture, maxAnisotropic, numFixedTexUnits, numFragmentTexCoordUnits, numFragmentTexUnits, numTotalTexUnits, numVertexTexUnits, offset, supportsAniso, supportsAnisoDetected, supportsDepthTexture, supportsEnvCombine, supportsEnvCombineDetected, supportsEnvDot3, supportsEnvDot3Detected, supportsMultiTexture, supportsMultiTextureDetected, supportsNonPowerTwo, supportsNonPowerTwoDetected, supportsRectangular, supportsRectangularDetected, supportsS3TCCompression, supportsS3TCCompressionDetected, supportsShadow, supportsTexture3D, supportsTexture3DDetected, supportsTextureCubeMap, supportsTextureCubeMapDetected, texture
 
Fields inherited from class com.jme.scene.state.RenderState
QUICK_COMPARE, RS_BLEND, RS_CLIP, RS_COLORMASK_STATE, RS_CULL, RS_FOG, RS_FRAGMENT_PROGRAM, RS_GLSL_SHADER_OBJECTS, RS_LIGHT, RS_MATERIAL, RS_MAX_STATE, RS_SHADE, RS_STENCIL, RS_TEXTURE, RS_VERTEX_PROGRAM, RS_WIREFRAME, RS_ZBUFFER
 
Constructor Summary
DummyRenderer.TextureStateN()
           
 
Method Summary
 void apply()
          This function is defined in the RenderState that is actually used by the Renderer.
 StateRecord createStateRecord()
           
 void delete(int unit)
          Removes the texture of the given unit.
 void deleteAll()
          Removes all Texture set in this TextureState.
 void deleteAll(boolean removeFromCache)
          Removes all Texture set in this TextureState.
 void load(int unit)
          Loads the texture for the given unit into the underlying rendering system, generating mip maps if appropriate.
 
Methods inherited from class com.jme.scene.state.TextureState
clearTextures, deleteTextureId, getClassTag, getCorrectionType, getDefaultTexture, getDefaultTextureImage, getMaxAnisotropic, getNumberOfFixedUnits, getNumberOfFragmentTexCoordUnits, getNumberOfFragmentUnits, getNumberOfSetTextures, getNumberOfTotalUnits, getNumberOfVertexUnits, getStateType, getTexture, getTexture, getTextureCoordinateOffset, getTextureID, getTotalNumberOfUnits, getType, isAnisoSupported, isAutomaticMipmapsSupported, isEnvCombineSupported, isEnvDot3Supported, isMultiTextureSupported, isNonPowerOfTwoTextureSupported, isRectangularTextureSupported, isS3TCSupported, isTexture3DSupported, isTextureCubeMapSupported, load, overrideAnisoSupport, overrideAutomaticMipmapsSupport, overrideEnvCombineSupport, overrideEnvDot3Support, overrideMultiTextureSupport, overrideNonPowerOfTwoTextureSupport, overrideRectangularTextureSupport, overrideS3TCSupport, overrideTexture3DSupport, overrideTextureCubeMapSupport, read, removeTexture, removeTexture, resetAnisoSupport, resetAutomaticMipmapsSupport, resetEnvCombineSupport, resetEnvDot3Support, resetFirstLast, resetMultiTextureSupport, resetNonPowerOfTwoTextureSupport, resetRectangularTextureSupport, resetS3TCSupport, resetTexture3DSupport, resetTextureCubeMapSupport, setCorrectionType, setTexture, setTexture, setTextureCoordinateOffset, write
 
Methods inherited from class com.jme.scene.state.RenderState
extract, isEnabled, needsRefresh, setEnabled, setNeedsRefresh, setQuickCompares
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DummyRenderer.TextureStateN

DummyRenderer.TextureStateN()
Method Detail

load

public void load(int unit)
Description copied from class: TextureState
Loads the texture for the given unit into the underlying rendering system, generating mip maps if appropriate.

Specified by:
load in class TextureState

delete

public void delete(int unit)
Description copied from class: TextureState
Removes the texture of the given unit.

Specified by:
delete in class TextureState
Parameters:
unit - The unit of the Texture to remove.

deleteAll

public void deleteAll()
Description copied from class: TextureState
Removes all Texture set in this TextureState. Does not also remove from TextureManager's cache.

Specified by:
deleteAll in class TextureState

deleteAll

public void deleteAll(boolean removeFromCache)
Description copied from class: TextureState
Removes all Texture set in this TextureState. Also removes the textures from the TextureManager cache if passed boolean is true.

Specified by:
deleteAll in class TextureState

apply

public void apply()
Description copied from class: RenderState
This function is defined in the RenderState that is actually used by the Renderer. It contains the code that, when executed, applies the render state for the given render system. This should only be called internally and not by users directly.

Specified by:
apply in class RenderState

createStateRecord

public StateRecord createStateRecord()
Specified by:
createStateRecord in class RenderState