create Texture
Creates a texture based on provided inputs.
Parameters
image
Image.
width
Width of the image.
height
Height of the image.
Creates a texture based on provided inputs.
Parameters
image
Image in bytes.
width
Width of the image.
height
Height of the image.
format
Color format of the image.