Constructs an empty RGB texture with the specified width and height.
Constructs an empty RGB texture with the specified width and height.
the width of the new texture
the height of the new texture
whether the origin should start at the bottom-left instead of the top-left; most internal graphics uses rely on flipped coordinates
the new, empty texture
Constructs a texture from the image at a specified path.
Constructs a texture from the image at a specified path.
the path of the texture image
whether the origin should start at the bottom-left instead of the top-left; most external texture files are not flipped
the new texture