diff options
author | Juan Linietsky <reduzio@gmail.com> | 2020-12-16 17:28:05 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-16 17:28:05 -0300 |
commit | 9c39b51c5306333ba210c0a323f4198a258b51bd (patch) | |
tree | 0b4a378b86c7a3d6e20534e99460e05384ace298 /servers/rendering_server.h | |
parent | c514cc58224e5c973ac8be7bb6db7023d5c25906 (diff) | |
parent | bf77016c8a3cc9a8ff4c57c0fc32a4255006391b (diff) |
Merge pull request #44430 from reduz/reimplement-skeletons-blendshapes
Reimplement skeletons and blend shapes
Diffstat (limited to 'servers/rendering_server.h')
-rw-r--r-- | servers/rendering_server.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/servers/rendering_server.h b/servers/rendering_server.h index 5865cc7adf..598c23f4ee 100644 --- a/servers/rendering_server.h +++ b/servers/rendering_server.h @@ -282,8 +282,6 @@ public: Vector<uint8_t> index_data; uint32_t index_count = 0; - uint32_t blend_shape_count = 0; - AABB aabb; struct LOD { float edge_length; @@ -297,9 +295,11 @@ public: RID material; }; - virtual RID mesh_create_from_surfaces(const Vector<SurfaceData> &p_surfaces) = 0; + virtual RID mesh_create_from_surfaces(const Vector<SurfaceData> &p_surfaces, int p_blend_shape_count = 0) = 0; virtual RID mesh_create() = 0; + virtual void mesh_set_blend_shape_count(RID p_mesh, int p_blend_shape_count) = 0; + virtual uint32_t mesh_surface_get_format_offset(uint32_t p_format, int p_vertex_len, int p_array_index) const; virtual uint32_t mesh_surface_get_format_vertex_stride(uint32_t p_format, int p_vertex_len) const; virtual uint32_t mesh_surface_get_format_attribute_stride(uint32_t p_format, int p_vertex_len) const; |