size()
Gets the size of the texture.
Declaration
func size() -> CGSizeMentioned in
Return Value
The dimensions of the texture, measured in points.
Discussion
If the texture was created using an image file and that image file hasn’t been loaded, calling this method forces the texture data to be loaded from the file.