summaryrefslogtreecommitdiff
path: root/servers/visual/rasterizer.h
diff options
context:
space:
mode:
authorJuan Linietsky <juan@godotengine.org>2018-02-21 09:38:21 -0300
committerJuan Linietsky <juan@godotengine.org>2018-02-21 09:39:09 -0300
commit9e3a1e5401f9f807085547de0ecc3f527610daa4 (patch)
treeac58cd4f27e9dfe8ed550dfce9bfc442f29cd05a /servers/visual/rasterizer.h
parent1c77fdcc8516cf2f0c5083d4840a684b9ad90958 (diff)
Add base support for 2D meshes in Godot, including Sprite -> Mesh2D conversion.
Diffstat (limited to 'servers/visual/rasterizer.h')
-rw-r--r--servers/visual/rasterizer.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/servers/visual/rasterizer.h b/servers/visual/rasterizer.h
index f2bb853a3b..378a05cdfe 100644
--- a/servers/visual/rasterizer.h
+++ b/servers/visual/rasterizer.h
@@ -750,6 +750,8 @@ public:
RID mesh;
RID skeleton;
+ RID texture;
+ RID normal_map;
CommandMesh() { type = TYPE_MESH; }
};
@@ -757,6 +759,8 @@ public:
RID multimesh;
RID skeleton;
+ RID texture;
+ RID normal_map;
CommandMultiMesh() { type = TYPE_MULTIMESH; }
};