是否可以在帧之间进行操作而不将它们复制到数组中? [英] Is it possible to do operations between frames without copying them into an array?

查看:73
本文介绍了是否可以在帧之间进行操作而不将它们复制到数组中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道是否有可能在Frame类的不同实例之间进行操作,比如result_frame = frame1 + frame2。

I'd like to know if it is possibile to do operations between different instances of the Frame class, like result_frame=frame1+frame2.

谢谢,

Martino。

推荐答案

快速回答是否定的,因为你需要内存中的最后一帧。运行时不保留旧框架,因此您需要在应用程序中的某处创建该副本。

The quick answer is no because you need the last frame in memory somewhere. The runtime does not keep old frames so you will need to make that copy somewhere within your application.


这篇关于是否可以在帧之间进行操作而不将它们复制到数组中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆