Texture.create

Create the texture. * If this function fails, the texture is left unchanged. *

class Texture
bool
create
(
uint width
,
uint height
)

Parameters

width
Type: uint

Width of the texture

height
Type: uint

Height of the texture *

Return Value

Type: bool

true if creation was successful, false otherwise.

Meta