Exemple #1
0
 private static void DeleteBuffer(OglStreamBuffer buffer)
 {
     buffer.Dispose();
 }
Exemple #2
0
        public void Create(long key, long size)
        {
            OglStreamBuffer buffer = new OglStreamBuffer(BufferTarget.UniformBuffer, size);

            _cache.AddOrUpdate(key, buffer, size);
        }