CreateTexture
Creates a texture.
CreateTexture ( width,height[,flags][,frames] )
Parameters
- width
- how wide it is, in pixels.
- height
- how tall it is.
- flags (optional)
- texture flags, as for LoadTexture. With 2, it starts see-through; otherwise black.
- frames (optional)
- how many frames it has. Defaults to 1.
Description
Creates a blank texture and gives back its handle. Draw on it with SetBuffer TextureBuffer and the 2D drawing commands, for screens, signs or maps inside the 3D world.
