Skip to content
This repository has been archived by the owner on Nov 7, 2023. It is now read-only.

Latest commit

 

History

History
399 lines (48 loc) · 3.78 KB

vglModule.primitive.rst

File metadata and controls

399 lines (48 loc) · 3.78 KB

vgl.primitive (class)

.. js:class:: vgl.primitive ()



   .. ============================== constructor details ====================








   Create a new instance of class primitive













   :returns:



     :rtype: vgl.primitive














   .. ============================== properties summary =====================



   .. ============================== events summary ========================





   .. ============================== field details ==========================



   .. ============================== method details =========================






   .. js:function:: vgl.primitive.indices()





       Get indices of the primitive












       :returns:


       :rtype: null










   .. js:function:: vgl.primitive.createIndices(type)





       :param  type:







       Create indices array for the primitive



















   .. js:function:: vgl.primitive.numberOfIndices()





       Return the number of indices



















   .. js:function:: vgl.primitive.sizeInBytes()





       Return size of indices in bytes



















   .. js:function:: vgl.primitive.setPrimitiveType(type)





       :param  type:







       Set primitive type



















   .. js:function:: vgl.primitive.indicesPerPrimitive()





       Return count of indices that form a primitives



















   .. js:function:: vgl.primitive.setIndicesPerPrimitive(count)





       :param  count:







       Set count of indices that form a primitive



















   .. js:function:: vgl.primitive.indicesValueType()





       Return indices value type



















   .. js:function:: vgl.primitive.setIndicesValueType(type)





       :param  type:







       Set indices value type



















   .. js:function:: vgl.primitive.setIndices(indicesArray)





       :param  indicesArray:







       Set indices from a array


















   .. ============================== event details =========================



Documentation generated by jsdoc-toolkit 2.4.0 using jsdoc-toolkit-rst-template