기술 자료

Unity Engine


User Manual

Script Reference

Unity Engine


SupportsStencil(RenderTexture)

Does a RenderTexture have stencil buffer?
읽는 시간 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.