Version: 2017.3

RenderTexture.SupportsStencil

切换到手册
public static bool SupportsStencil (RenderTexture rt);

参数

rt 渲染纹理;如果是主屏幕,则为 null。

描述

RenderTexture 是否具有模板缓冲区?

如果 rt 为 null,将报告主屏幕的状态。