public void enableLayers(boolean enable){
  TextureState textureState=(TextureState)getLocalRenderState(RenderState.StateType.Texture);
  textureState.setEnabled(enable);
  markDirty(DirtyType.RenderState);
}

public void enableLayers ( boolean enable ) { TextureState textureState = ( TextureState ) getLocalRenderState ( RenderState . StateType . Texture ) ; textureState . setEnabled ( enable ) ; markDirty ( DirtyType . RenderState ) ; }
enable the layers on this mesh .
