setImage
Updates a 2D texture level with image data from a buffer.
The descriptor's callback is invoked when the driver has consumed the data.
Parameters
Engine this texture is associated with
Mipmap level to update (must be
Pixel buffer containing the image data
Updates a rectangular sub-region of a 2D texture level.
The descriptor's callback is invoked when the driver has consumed the data.
Parameters
Engine this texture is associated with
Mipmap level to update (must be
Left offset in pixels
Bottom offset in pixels
Width of sub-region in pixels
Height of sub-region in pixels
Pixel buffer containing the image data
Updates a sub-region of a 3D texture or 2D texture array. Cubemaps are treated like a 2D array of six layers.
The descriptor's callback is invoked when the driver has consumed the data.
Parameters
Engine this texture is associated with
Mipmap level to update (must be
Left offset in pixels
Bottom offset in pixels
Depth offset (layer for arrays, face for cubemaps)
Width of sub-region in pixels
Height of sub-region in pixels
Depth of sub-region in layers/faces
Pixel buffer containing the image data
Updates a 2D texture level with image data from a buffer.
The descriptor's callback is invoked when the driver has consumed the data.
Parameters
Engine this texture is associated with
Mipmap level to update (must be
Pixel buffer containing the image data
Updates a rectangular sub-region of a 2D texture level.
The descriptor's callback is invoked when the driver has consumed the data.
Parameters
Engine this texture is associated with
Mipmap level to update (must be
Left offset in pixels
Bottom offset in pixels
Width of sub-region in pixels
Height of sub-region in pixels
Pixel buffer containing the image data
Updates a sub-region of a 3D texture or 2D texture array. Cubemaps are treated like a 2D array of six layers.
The descriptor's callback is invoked when the driver has consumed the data.
Parameters
Engine this texture is associated with
Mipmap level to update (must be
Left offset in pixels
Bottom offset in pixels
Depth offset (layer for arrays, face for cubemaps)
Width of sub-region in pixels
Height of sub-region in pixels
Depth of sub-region in layers/faces
Pixel buffer containing the image data
Updates a 2D texture level with image data from a buffer.
The descriptor's callback is invoked when the driver has consumed the data.
Parameters
Engine this texture is associated with
Mipmap level to update (must be
Pixel buffer containing the image data
Updates a rectangular sub-region of a 2D texture level.
The descriptor's callback is invoked when the driver has consumed the data.
Parameters
Engine this texture is associated with
Mipmap level to update (must be
Left offset in pixels
Bottom offset in pixels
Width of sub-region in pixels
Height of sub-region in pixels
Pixel buffer containing the image data
Updates a sub-region of a 3D texture or 2D texture array. Cubemaps are treated like a 2D array of six layers.
The descriptor's callback is invoked when the driver has consumed the data.
Parameters
Engine this texture is associated with
Mipmap level to update (must be
Left offset in pixels
Bottom offset in pixels
Depth offset (layer for arrays, face for cubemaps)
Width of sub-region in pixels
Height of sub-region in pixels
Depth of sub-region in layers/faces
Pixel buffer containing the image data
Updates a 2D texture level with image data from a buffer.
The descriptor's callback is invoked when the driver has consumed the data.
Parameters
Engine this texture is associated with
Mipmap level to update (must be
Pixel buffer containing the image data
Updates a rectangular sub-region of a 2D texture level.
The descriptor's callback is invoked when the driver has consumed the data.
Parameters
Engine this texture is associated with
Mipmap level to update (must be
Left offset in pixels
Bottom offset in pixels
Width of sub-region in pixels
Height of sub-region in pixels
Pixel buffer containing the image data
Updates a sub-region of a 3D texture or 2D texture array. Cubemaps are treated like a 2D array of six layers.
The descriptor's callback is invoked when the driver has consumed the data.
Parameters
Engine this texture is associated with
Mipmap level to update (must be
Left offset in pixels
Bottom offset in pixels
Depth offset (layer for arrays, face for cubemaps)
Width of sub-region in pixels
Height of sub-region in pixels
Depth of sub-region in layers/faces
Pixel buffer containing the image data
Updates a 2D texture level with image data from a buffer.
The descriptor's callback is invoked when the driver has consumed the data.
Parameters
Engine this texture is associated with
Mipmap level to update (must be
Pixel buffer containing the image data
Updates a rectangular sub-region of a 2D texture level.
The descriptor's callback is invoked when the driver has consumed the data.
Parameters
Engine this texture is associated with
Mipmap level to update (must be
Left offset in pixels
Bottom offset in pixels
Width of sub-region in pixels
Height of sub-region in pixels
Pixel buffer containing the image data
Updates a sub-region of a 3D texture or 2D texture array. Cubemaps are treated like a 2D array of six layers.
The descriptor's callback is invoked when the driver has consumed the data.
Parameters
Engine this texture is associated with
Mipmap level to update (must be
Left offset in pixels
Bottom offset in pixels
Depth offset (layer for arrays, face for cubemaps)
Width of sub-region in pixels
Height of sub-region in pixels
Depth of sub-region in layers/faces
Pixel buffer containing the image data