-Added proper access to depth texture from shader

-Split Mesh into Mesh (abstrat class) and ArrayMesh, to allow to proper mesh primitives, as well as streamable meshes in the future.
This commit is contained in:
Juan Linietsky 2017-06-07 18:18:55 -03:00
parent 5f5d629c8a
commit 5bf810b5db
27 changed files with 590 additions and 550 deletions

View file

@ -125,7 +125,7 @@ public:
void create_from(const Ref<Mesh> &p_existing, int p_surface);
void append_from(const Ref<Mesh> &p_existing, int p_surface, const Transform &p_xform);
Ref<Mesh> commit(const Ref<Mesh> &p_existing = Ref<Mesh>());
Ref<ArrayMesh> commit(const Ref<ArrayMesh> &p_existing = Ref<ArrayMesh>());
SurfaceTool();
};