Support of creating BufferImage from pixel buffer in JavaScript
[platform/core/uifw/dali-toolkit.git] / plugins / dali-script-v8 / src / object / property-buffer-api.cpp
index dabaaf6..cde2ed1 100644 (file)
@@ -119,8 +119,8 @@ PropertyBuffer PropertyBufferApi::GetPropertyBufferFromParams( int paramIndex,
  * @constructor
  * @for PropertyBuffer
  * @method PropertyBuffer
  * @constructor
  * @for PropertyBuffer
  * @method PropertyBuffer
- * @param {Object} bufferFormat
- * @param {integer} size
+ * @param {Object} bufferFormat Map of names and types that describes the components of the buffer
+ * @param {integer} size The number of elements in the property buffer
  * @return {Object} PropertyBuffer
  * @example
  *```
  * @return {Object} PropertyBuffer
  * @example
  *```
@@ -165,7 +165,7 @@ PropertyBuffer PropertyBufferApi::New( v8::Isolate* isolate, const v8::FunctionC
  *
  * @method setData
  * @for PropertyBuffer
  *
  * @method setData
  * @for PropertyBuffer
- * @param {Object} data The data that will be copied to the buffer.
+ * @param {Float32Array} data The data that will be copied to the buffer.
  * @example
  *```
  *   var vertexData = [    0,     1,
  * @example
  *```
  *   var vertexData = [    0,     1,