Sets the pixels in a rectangular subregion of this from an in-memory buffer containing pixel data.
<note>The region set can't be larger than the source data
</note>
this |
a Texture. |
src_x |
upper left coordinate to use from source data. |
src_y |
upper left coordinate to use from source data. |
dst_x |
upper left destination horizontal coordinate. |
dst_y |
upper left destination vertical coordinate. |
dst_width |
width of destination region to write. (Must be less than or equal to |
dst_height |
height of destination region to write. (Must be less than or equal to |
width |
width of source data buffer. |
height |
height of source data buffer. |
format |
the PixelFormat used in the source buffer. |
rowstride |
rowstride of source buffer (computed from width if none specified) |
data |
the actual pixel data. |
true if the subregion upload was successful, and false otherwise |