Переглянути джерело

Image: Deprecate efficient data

shadowislord 10 роки тому
батько
коміт
4db0acaca9
1 змінених файлів з 4 додано та 8 видалено
  1. 4 8
      jme3-core/src/main/java/com/jme3/texture/Image.java

+ 4 - 8
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;
     }