diff options
author | Juan Linietsky <reduzio@gmail.com> | 2017-11-14 17:25:42 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2017-11-14 17:26:35 -0300 |
commit | 6277e6d40a0f0e8c84470482400959fca4ff5ad8 (patch) | |
tree | cbeceb3b2d6ba41687b8331911888375d2f6259f /servers/visual/rasterizer.h | |
parent | 61a693cf782c952dc151d8d77b1ab365888e6701 (diff) |
Ability to update parts of an array, and set arrays as dynamic draw
Diffstat (limited to 'servers/visual/rasterizer.h')
-rw-r--r-- | servers/visual/rasterizer.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/servers/visual/rasterizer.h b/servers/visual/rasterizer.h index 164baa8c9b..333fe1e72a 100644 --- a/servers/visual/rasterizer.h +++ b/servers/visual/rasterizer.h @@ -242,6 +242,8 @@ public: virtual void mesh_set_blend_shape_mode(RID p_mesh, VS::BlendShapeMode p_mode) = 0; virtual VS::BlendShapeMode mesh_get_blend_shape_mode(RID p_mesh) const = 0; + virtual void mesh_surface_update_region(RID p_mesh, int p_surface, int p_offset, const PoolVector<uint8_t> &p_data) = 0; + virtual void mesh_surface_set_material(RID p_mesh, int p_surface, RID p_material) = 0; virtual RID mesh_surface_get_material(RID p_mesh, int p_surface) const = 0; |