RenderTargetIdentifier.md 1.4 KB

#unity/日常积累

描述

标识 CommandBuffer 的 RenderTexture

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

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

另请参阅:CommandBuffer

静态变量

AllDepthSlices

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

构造函数

RenderTargetIdentifier

创建渲染目标标识符。