Fill in some missing summaries.

This commit is contained in:
David Rowe 2019-12-23 09:17:08 +13:00
parent a92830f2c1
commit 61b3b09b23
2 changed files with 12 additions and 12 deletions

View file

@ -59,12 +59,12 @@ QVariant toVariant(const AABox& box) {
/**jsdoc /**jsdoc
* Details of a buffer element's format. * Details of a buffer element's format.
* @typedef {object} Graphics.BufferElementFormat * @typedef {object} Graphics.BufferElementFormat
* @property {string} type * @property {string} type - Type.
* @property {string} semantic * @property {string} semantic - Semantic.
* @property {string} dimension * @property {string} dimension - Dimension.
* @property {number} scalarCount * @property {number} scalarCount - Scalar count.
* @property {number} byteSize * @property {number} byteSize - Byte size.
* @property {number} BYTES_PER_ELEMENT * @property {number} BYTES_PER_ELEMENT - Bytes per element.
*/ */
QVariant toVariant(const gpu::Element& element) { QVariant toVariant(const gpu::Element& element) {
return QVariantMap{ return QVariantMap{

View file

@ -130,12 +130,12 @@ int scriptable::ScriptableMesh::getSlotNumber(const QString& attributeName) cons
/**jsdoc /**jsdoc
* Details of buffer's format. * Details of buffer's format.
* @typedef {object} Graphics.BufferFormat * @typedef {object} Graphics.BufferFormat
* @property {number} slot * @property {number} slot - Slot.
* @property {number} length * @property {number} length - Length.
* @property {number} byteLength * @property {number} byteLength - Byte length.
* @property {number} offset * @property {number} offset - Offset.
* @property {number} stride * @property {number} stride - Stride.
* @property {Graphics.BufferElementFormat} element * @property {Graphics.BufferElementFormat} element - Element format.
*/ */
QVariantMap scriptable::ScriptableMesh::getBufferFormats() const { QVariantMap scriptable::ScriptableMesh::getBufferFormats() const {
QVariantMap result; QVariantMap result;