When using index primitives is there a method to provide the indices using a temp buffer like setVertexBytes?
Right now I have to create a temp metal buffer even for a small number of vertices and toss it after rendering using drawIndexedPrimitives.
When using index primitives is there a method to provide the indices using a temp buffer like setVertexBytes?
Right now I have to create a temp metal buffer even for a small number of vertices and toss it after rendering using drawIndexedPrimitives.