RenderTexture.Create 创建

function Create () : bool

Description描述

Actually creates the RenderTexture.

实际创建RenderTexture。

RenderTexture constructor does not actually create the hardware texture; by default the texture is created the first time it is set active. Calling Create lets you create it up front. Create does nothing if the texture is already created.

RenderTexture构造函数实际上并没有创建硬件纹理;默认的纹理第一次创建时被设置为active,调用Create可以在它之前创建。如果纹理已经被创建Create不做任何事情。

参见:Release, IsCreated函数

Page last updated: 2011-3-15