Texture.create

Create the texture.

If this function fails, the texture is left unchanged.

class Texture
bool
create
(
uint width
,
uint height
)

Parameters

width uint

Width of the texture

height uint

Height of the texture

Return Value

Type: bool

true if creation was successful, false otherwise.

Meta