ドキュメント

Unity Engine

Unity Engine

IsCreated()

Is the render texture actually created?
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public bool IsCreated()

Returns

Type

Description

bool

Remarks

RenderTexture constructor does not actually create the hardware texture; by default the texture is created the first time it is set RenderTexture.active.
IsCreated
returns
true
if the hardware resources for this render are created.
Additional Resources: RenderTexture.Create, RenderTexture.Release functions.