RenderTexture.IsCreated 是否被创建

function IsCreated () : bool

Description描述

Is the render texture actually created?

渲染纹理是否被实际创建?

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

RenderTexture构造函数实际上并没有创建硬件纹理;默认的纹理第一次创建时被设置为active,如果用于渲染的的硬件资源被创建了,IsCreate返回ture。

参见: Create, Release 函数.

Page last updated: 2011-3-15