UpdateTextureRec method
Update GPU texture rectangle with new data
Implementation
@override
void UpdateTextureRec(
TextureD texture,
RectangleD rec,
MemoryPointer<RVoid> pixels,
) => _ffi.UpdateTextureRec(
$.Texture$.Ref1(texture).asNativePointer<TextureC>().ref,
$.Rectangle$.Ref1(rec).asNativePointer<RectangleC>().ref,
pixels.asNativePointer(),
);