CopyTexture()
Syntax
Result = CopyTexture(#Texture, #NewTexture)Description
Creates a #NewTexture which is the exact copy of the specified #Texture. If #PB_Any is used as '#NewTexture' parameter, the new texture number will be returned as 'Result'.
If the 'Result' is 0, the texture copy has failed. If #NewTexture was already created, it will be automatically freed and replaced by the new one.
Supported OS
Windows, Linux