pub unsafe trait Index { fn ty() -> IndexType; }
Trait for types that can be used as indices by the GPU.
Returns the type of data.