Version: Unity 6 (6000.0)
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.