summaryrefslogtreecommitdiffstats
path: root/o3d/samples/o3d-webgl/raw_data.js
diff options
context:
space:
mode:
Diffstat (limited to 'o3d/samples/o3d-webgl/raw_data.js')
-rw-r--r--o3d/samples/o3d-webgl/raw_data.js11
1 files changed, 10 insertions, 1 deletions
diff --git a/o3d/samples/o3d-webgl/raw_data.js b/o3d/samples/o3d-webgl/raw_data.js
index ab3c0f4..59a441c 100644
--- a/o3d/samples/o3d-webgl/raw_data.js
+++ b/o3d/samples/o3d-webgl/raw_data.js
@@ -44,7 +44,9 @@
* request.send();
* @constructor
*/
-o3d.RawData = function() { };
+o3d.RawData = function() {
+ o3d.NamedObject.call(this);
+};
o3d.inherit('RawData', 'NamedObject');
@@ -56,6 +58,13 @@ o3d.inherit('RawData', 'NamedObject');
o3d.RawData.prototype.string_value = '';
+/**
+ * The data as an image if it is an image.
+ * @type {Image}
+ * @private
+ */
+o3d.RawData.prototype.image_ = null;
+
/**
* The uri of the RawData.