mirror of
https://github.com/overte-org/overte.git
synced 2025-04-11 13:42:38 +02:00
Fill in some missing summaries.
This commit is contained in:
parent
a92830f2c1
commit
61b3b09b23
2 changed files with 12 additions and 12 deletions
|
@ -59,12 +59,12 @@ QVariant toVariant(const AABox& box) {
|
|||
/**jsdoc
|
||||
* Details of a buffer element's format.
|
||||
* @typedef {object} Graphics.BufferElementFormat
|
||||
* @property {string} type
|
||||
* @property {string} semantic
|
||||
* @property {string} dimension
|
||||
* @property {number} scalarCount
|
||||
* @property {number} byteSize
|
||||
* @property {number} BYTES_PER_ELEMENT
|
||||
* @property {string} type - Type.
|
||||
* @property {string} semantic - Semantic.
|
||||
* @property {string} dimension - Dimension.
|
||||
* @property {number} scalarCount - Scalar count.
|
||||
* @property {number} byteSize - Byte size.
|
||||
* @property {number} BYTES_PER_ELEMENT - Bytes per element.
|
||||
*/
|
||||
QVariant toVariant(const gpu::Element& element) {
|
||||
return QVariantMap{
|
||||
|
|
|
@ -130,12 +130,12 @@ int scriptable::ScriptableMesh::getSlotNumber(const QString& attributeName) cons
|
|||
/**jsdoc
|
||||
* Details of buffer's format.
|
||||
* @typedef {object} Graphics.BufferFormat
|
||||
* @property {number} slot
|
||||
* @property {number} length
|
||||
* @property {number} byteLength
|
||||
* @property {number} offset
|
||||
* @property {number} stride
|
||||
* @property {Graphics.BufferElementFormat} element
|
||||
* @property {number} slot - Slot.
|
||||
* @property {number} length - Length.
|
||||
* @property {number} byteLength - Byte length.
|
||||
* @property {number} offset - Offset.
|
||||
* @property {number} stride - Stride.
|
||||
* @property {Graphics.BufferElementFormat} element - Element format.
|
||||
*/
|
||||
QVariantMap scriptable::ScriptableMesh::getBufferFormats() const {
|
||||
QVariantMap result;
|
||||
|
|
Loading…
Reference in a new issue