ドキュメント

Unity Engine

Unity Engine

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.