Version: 2021.1

RenderTextureSubElement

enumeration

切换到手册

描述

Types of data that you can encapsulate within a render texture.

An enum that allows you to specify access to the different types of data that may be encapsulated within the RenderTexture. These are broadly aligned with the different types of surfaces that the underlying graphics API that Unity associates with the RenderTexture creates.

变量

ColorColor element of a RenderTexture.
DepthThe depth element of a RenderTexture.
StencilThe stencil element of a RenderTexture.
DefaultThe Default element of a RenderTexture.