Texture.update

Update the texture from an image. * No additional check is performed on the size of the image, passing an invalid combination of image size and offset will lead to an undefined behavior. * This function does nothing if the texture was not previously created. *

Parameters

image
Type: const(Image)

Image to copy to the texture.

Meta