支持各种 Graphics.CopyTexture 情况。
大多数现代平台和图形 API 都支持相当灵活的纹理复制(例如,从 RenderTexture
复制到 Cubemap 图面)。但是,某些旧系统可能不支持某些纹理复制功能。
此枚举指示对此功能的支持。在调用 Graphics.CopyTexture 前可使用 SystemInfo.copyTextureSupport
检查是否支持。
Direct3D11, DirectD12, Metal and PS4 platforms generally support flexible texture copy (all CopyTextureSupport flags are set).
OpenGL supports flexible texture copy since OpenGL 4.3; OpenGL ES supports flexible texture copy since OpenGL ES 3.1 with Android Extension Pack; on earlier versions there's no copy support right now (CopyTextureSupport.None).
Direct3D9 系统具有有限的纹理复制支持(不能复制 3D 纹理,不能在
纹理和渲染纹理之间复制)。
WebGL currently do not have texture copy support (CopyTextureSupport.None).
另请参阅:Graphics.CopyTexture、SystemInfo.copyTextureSupport。
None | 不支持 Graphics.CopyTexture。 |
Basic | 基本 Graphics.CopyTexture 支持。 |
Copy3D | Graphics.CopyTexture 中的 Texture3D 支持。 |
DifferentTypes | 不同纹理类型之间的 Graphics.CopyTexture 支持。 |
TextureToRT | Graphics.CopyTexture 中的 Texture 到 RenderTexture 复制支持。 |
RTToTexture | Graphics.CopyTexture 中的 RenderTexture 到 Texture 复制支持。 |
Did you find this page useful? Please give it a rating:
Thanks for rating this page!
What kind of problem would you like to report?
Thanks for letting us know! This page has been marked for review based on your feedback.
If you have time, you can provide more information to help us fix the problem faster.
Provide more information
You've told us this page needs code samples. If you'd like to help us further, you could provide a code sample, or tell us about what kind of code sample you'd like to see:
You've told us there are code samples on this page which don't work. If you know how to fix it, or have something better we could use instead, please let us know:
You've told us there is information missing from this page. Please tell us more about what's missing:
You've told us there is incorrect information on this page. If you know what we should change to make it correct, please tell us:
You've told us this page has unclear or confusing information. Please tell us more about what you found unclear or confusing, or let us know how we could make it clearer:
You've told us there is a spelling or grammar error on this page. Please tell us what's wrong:
You've told us this page has a problem. Please tell us more about what's wrong:
Thank you for helping to make the Unity documentation better!
Your feedback has been submitted as a ticket for our documentation team to review.
We are not able to reply to every ticket submitted.