Image: Deprecate efficient data

experimental
shadowislord 10 years ago
parent 8c2e9f687d
commit 4db0acaca9
  1. 12
      jme3-core/src/main/java/com/jme3/texture/Image.java

@ -740,22 +740,18 @@ public class Image extends NativeObject implements Savable /*, Cloneable*/ {
}
/**
* Set the efficient data representation of this image.
* <p>
* Some system implementations are more efficient at operating
* on data other than ByteBuffers, in that case, this method can be used.
*
* @param efficientData
* @deprecated This feature is no longer used by the engine
*/
@Deprecated
public void setEfficentData(Object efficientData){
this.efficientData = efficientData;
setUpdateNeeded();
}
/**
* @return The efficient data representation of this image.
* @see Image#setEfficentData(java.lang.Object)
* @deprecated This feature is no longer used by the engine
*/
@Deprecated
public Object getEfficentData(){
return efficientData;
}

Loading…
Cancel
Save