public static void addPathAndMipForMemoization(string path, int mipLevel, VertexAndIndexBuffers buffers) { if (!memoizedMips.Keys.Contains(getPathWidthMipString(path, mipLevel))) { memoizedMips.Add(getPathWidthMipString(path, mipLevel), buffers); } }
public void setBuffers(VertexAndIndexBuffers buffers) { vertexBuffer = buffers.getVertexBuffer(); indexBuffer = buffers.getIndexBuffer(); readyToBeDisplayed = true; }