override primitive type in index buffer