Texture.dup

Creates a new texture from the same data (this means copying the entire set of pixels).

class Texture
@property const
dup
()

Return Value

Type: Texture

New texture data.

Meta