コード例 #1
0
        public Buffer <T> CreateSubBuffer(MemoryFlags flags, BufferRegion regionInfo)
        {
            BufferSafeHandle subBuffer = UnsafeNativeMethods.CreateSubBuffer(Handle, flags, regionInfo);

            return(new Buffer <T>(Context, this, subBuffer));
        }