Version: 2022.3
LanguageEnglish
  • C#

CopyTextureSupport

enumeration

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

Support for various Graphics.CopyTexture cases.

Most modern platforms and graphics APIs support quite flexible texture copy (e.g. copy from a RenderTexture into a Cubemap face). However some older systems might not support certain parts of texture copy functionality. This enum indicates support for this. Use SystemInfo.copyTextureSupport to check for support before calling Graphics.CopyTexture.

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 systems have somewhat limited texture copy support (can't copy 3D textures, and can't copy between textures and render textures).

WebGL currently do not have texture copy support (CopyTextureSupport.None).

Additional resources: Graphics.CopyTexture, SystemInfo.copyTextureSupport.

Properties

NoneNo support for Graphics.CopyTexture.
BasicBasic Graphics.CopyTexture support.
Copy3DSupport for Texture3D in Graphics.CopyTexture.
DifferentTypesSupport for Graphics.CopyTexture between different texture types.
TextureToRTSupport for Texture to RenderTexture copies in Graphics.CopyTexture.
RTToTextureSupport for RenderTexture to Texture copies in Graphics.CopyTexture.
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961