private static void DeleteBuffer(OglStreamBuffer buffer) { buffer.Dispose(); }
public void Create(long key, long size) { OglStreamBuffer buffer = new OglStreamBuffer(BufferTarget.UniformBuffer, size); _cache.AddOrUpdate(key, buffer, size); }
private static void DeleteBuffer(OglStreamBuffer buffer) { buffer.Dispose(); }
public void Create(long key, long size) { OglStreamBuffer buffer = new OglStreamBuffer(BufferTarget.UniformBuffer, size); _cache.AddOrUpdate(key, buffer, size); }