Esempio n. 1
0
        public GpuCacheHandle Insert(ref T value)
        {
            FreeListHandle slot   = _slots.Next();
            Span <Vector4> blocks = GetBlocks(slot.Index);

            value.WriteGpuBlocks(blocks);
            return(new GpuCacheHandle(slot));
        }