提问人:Stressed 提问时间:11/13/2023 最后编辑:Stressed 更新时间:11/13/2023 访问量:31
为什么使用SDL_Surface而不是SDL_Texture
Why use SDL_Surface over SDL_Texture
问:
我知道SDL_Textures是由 GPU 渲染的,而SDL_Surfaces是由 CPU 渲染的。但是,我不明白为什么要使用SDL_Surfaces,因为SDL_Textures显然比SDL_Surfaces快。
如果可能的话,谁能解释为什么SDL_Surfaces比SDL_Textures好(如果有的话)或提供SDL_Surfaces比SDL_Textures好的情况(如果有的话)?
答: 暂无答案
评论
SDL_Texture
SDL_Surface