diff options
| author | Rémi Verschelde <rverschelde@gmail.com> | 2020-12-02 20:42:20 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-12-02 20:42:20 +0100 |
| commit | b36ff888a0e5b4fa2c53cce8ed78321d727bc041 (patch) | |
| tree | f9bca7f6950e8a69fd61c0ea8b341a4976accb80 /servers/rendering/rasterizer_rd/rasterizer_storage_rd.h | |
| parent | 3beab2646fa8744a84382d9fcfb73848404fe5b5 (diff) | |
| parent | 70f5972905a5ea6916e9aab909f9a34b963f67b1 (diff) | |
Merge pull request #44025 from reduz/refactor-mesh
Refactored Mesh internals and formats.
Diffstat (limited to 'servers/rendering/rasterizer_rd/rasterizer_storage_rd.h')
| -rw-r--r-- | servers/rendering/rasterizer_rd/rasterizer_storage_rd.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/servers/rendering/rasterizer_rd/rasterizer_storage_rd.h b/servers/rendering/rasterizer_rd/rasterizer_storage_rd.h index 42dd0616b0..d887f122c9 100644 --- a/servers/rendering/rasterizer_rd/rasterizer_storage_rd.h +++ b/servers/rendering/rasterizer_rd/rasterizer_storage_rd.h @@ -170,6 +170,10 @@ public: DEFAULT_RD_BUFFER_COLOR, DEFAULT_RD_BUFFER_TEX_UV, DEFAULT_RD_BUFFER_TEX_UV2, + DEFAULT_RD_BUFFER_CUSTOM0, + DEFAULT_RD_BUFFER_CUSTOM1, + DEFAULT_RD_BUFFER_CUSTOM2, + DEFAULT_RD_BUFFER_CUSTOM3, DEFAULT_RD_BUFFER_BONES, DEFAULT_RD_BUFFER_WEIGHTS, DEFAULT_RD_BUFFER_MAX, @@ -378,6 +382,8 @@ private: uint32_t format = 0; RID vertex_buffer; + RID attribute_buffer; + RID skin_buffer; uint32_t vertex_count = 0; // A different pipeline needs to be allocated @@ -414,8 +420,7 @@ private: Vector<AABB> bone_aabbs; - Vector<RID> blend_shapes; - RID blend_shape_base_buffer; //source buffer goes here when using blend shapes, and main one is uncompressed + RID blend_shape_buffer; RID material; |