CopyTexture()

语法

Result = CopyTexture(#Texture, #NewTexture)
概要
Creates a new texture which is the exact copy of the specified texture.

参数

#Texture The texture to copy.
#NewTexture A number to identify the new texture. #PB_Any can be used to auto-generate this number.

返回值

Nonzero if the texture was successfully duplicated, zero otherwise. If #PB_Any was used for the #NewTexture parameter then the generated number is returned on success.

已支持操作系统

所有

Texture Index - CreateCubeMapTexture() ->