I'm trying to tell a MTLBuffer that the range has changed but the compiler won't let me do that:
vertexBuffer?.didModifyRange(NSMakeRange(0,MemoryLayout<MetalVertex>.stride*nbVerts))
it just says: 'didModifyRange' is unavailable why is that?
thanks