DVUI

textureUpdateSubRect

Update a sub-rectangle of a texture from raw PMA pixel data. The full pixel buffer must be passed (same as for update); only the rows/columns within the given rect will be uploaded.

Falls back to a full update if the backend does not support sub-rect updates.

Only valid between Window.begin and Window.end.

Parameters

#
tex:*Texture
*Texture
pma:[*]const u8
[*]const u8
x:u32
u32
y:u32
u32
w:u32
u32
h:u32
u32