Пример #1
0
 public static void addPathAndMipForMemoization(string path, int mipLevel, VertexAndIndexBuffers buffers)
 {
     if (!memoizedMips.Keys.Contains(getPathWidthMipString(path, mipLevel)))
     {
         memoizedMips.Add(getPathWidthMipString(path, mipLevel), buffers);
     }
 }
Пример #2
0
 public void setBuffers(VertexAndIndexBuffers buffers)
 {
     vertexBuffer       = buffers.getVertexBuffer();
     indexBuffer        = buffers.getIndexBuffer();
     readyToBeDisplayed = true;
 }