**System Information**
Operating system: Windows-10-10.0.19041-SP0 64 Bits
Graphics card: Radeon RX 580 Series ATI Technologies Inc. 4.5.14830 Core Profile Context 21.4.1 27.20.21002.112
**Blender Version**
Broken: version: 2.93.1 and since 2.82 (sub 7), branch: master, commit date: 2020-03-12 05:06, hash: `rB375c7dc4caf4`
Worked: 2.81, 2.80 (and even 2.82 alpha)
**Short description of error**
Currently we don't have a way to get notified by some geometry update in depsgraph when in Sculpt Mode, this is affecting GPUOffscreen too as when creating some from the 3d view it is not updated when performing deformations on the mesh in Sculpt mode.
You can try the '[[ https://docs.blender.org/api/2.80/gpu.html#rendering-the-3d-view-into-a-texture | Rendering the 3D View into a Texture ]]' example in the Python API docs and see that it works in 2.80 and 2.81 but stop working on 2.82 while in Sculpt Mode (you deform the mesh with any brush and the offscreen is not updated).
Also, in 2.93 you can do this:
```
dep = context.evaluated_depsgraph_get()
for update in dep.updates:
if update.id.original == to_check_ob and (update.is_updated_geometry or update.is_updated_transform):
print("MESH IS UPDATED!")
```
And while it works in Edit mode ***while editing the mesh/geometry***, it does't work in Sculpt mode while deforming the geometry, meaning that we don't have a way to know if the mesh was changed or not in sculpt mode.
Also there is no mention about this breaking change in the Python API section of the release notes of 2.82 and as it worked in previous releases I suppose this is a bug.
**Exact steps for others to reproduce the error**
The easy way of testing is via the GPU Offcreen example in the API docs --> '[[ https://docs.blender.org/api/2.80/gpu.html#rendering-the-3d-view-into-a-texture | Rendering the 3D View into a Texture ]]'
# Open Blender 2.81, and run that script
# Go to edit mode, move some verts, confirm it works (you can see the offscreen is updated)
# Go to sculpt mode, deform the mesh, confirm it works...
# Repeat steps 1-3 but in Blender 2.82 or latest release at this time (2.93 RC1)