vgl.primitive (class)¶
- class vgl.primitive()¶
Create a new instance of class primitive
Returns: rtype: vgl.primitive - vgl.primitive.indices()¶
Get indices of the primitive
Returns: Return type: null
- vgl.primitive.createIndices(type)¶
Arguments: - type –
Create indices array for the primitive
- vgl.primitive.numberOfIndices()¶
Return the number of indices
- vgl.primitive.sizeInBytes()¶
Return size of indices in bytes
- vgl.primitive.setPrimitiveType(type)¶
Arguments: - type –
Set primitive type
- vgl.primitive.indicesPerPrimitive()¶
Return count of indices that form a primitives
- vgl.primitive.setIndicesPerPrimitive(count)¶
Arguments: - count –
Set count of indices that form a primitive
- vgl.primitive.indicesValueType()¶
Return indices value type
- vgl.primitive.setIndicesValueType(type)¶
Arguments: - type –
Set indices value type
- vgl.primitive.setIndices(indicesArray)¶
Arguments: - indicesArray –
Set indices from a array