SupportsStencil(RenderTexture)
Does a RenderTexture have stencil buffer?
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
public static bool SupportsStencil(RenderTexture rt)
Parameters
Render texture, or null for main screen.
Returns
Type | Description |
|---|---|
| bool |
Remarks
If rt is null, will report the status for the main screen.