文档

Unity Engine

Unity Engine

IsCreated()

Is the render texture actually created?
阅读时间1 分钟最后更新于 1 天前

Definition

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.