Version: 2023.1

RenderTargetIdentifier

struct in UnityEngine.Rendering

切换到手册

描述

标识 CommandBufferRenderTexture

可以通过多种方式标识渲染纹理,例如 RenderTexture 对象、一个内置渲染纹理 (BuiltinRenderTextureType) 或(使用 CommandBuffer.GetTemporaryRT 创建的)具有名称的临时渲染纹理。

此结构用作一种纹理标识方式,使用隐式转换运算符,在大多数情况下都可以减少键入。

另请参阅:CommandBuffer

静态变量

AllDepthSlicesAll depth-slices of the render resource are bound for rendering. For textures which are neither array nor 3D, the default slice is bound.

构造函数

RenderTargetIdentifier创建渲染目标标识符。

Did you find this page useful? Please give it a rating: