Field indices
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\"
.
Namespace: GLTFast.Schema
Assembly: solution.dll
Syntax
public int indices
Returns
Type | Description |
---|---|
int |