GltfMeshPrimitive.indices Field
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The index of the accessor that contains mesh indices.
When this is not defined, the primitives should be rendered without indices
using drawArrays(). When defined, the accessor must contain indices:
the bufferView referenced by the accessor must have a target equal
to 34963 (ELEMENT_ARRAY_BUFFER); a byteStride that is tightly packed,
i.e., 0 or the byte size of componentType in bytes;
componentType must be 5121 (UNSIGNED_BYTE), 5123 (UNSIGNED_SHORT)
or 5125 (UNSIGNED_INT), the latter is only allowed
when OES_element_index_uint extension is used; type must be \"SCALAR\".
public: int indices;
public int indices;
val mutable indices : int
Public indices As Integer