#ifndef MSP_GL_MESH_H_
#define MSP_GL_MESH_H_
+#include <string>
+#include <vector>
#include <msp/datafile/objectloader.h>
#include "batch.h"
#include "cullface.h"
public:
Mesh(ResourceManager * = 0);
Mesh(const VertexFormat &, ResourceManager * = 0);
-private:
- void init(ResourceManager *);
-public:
~Mesh();
void storage(const VertexFormat &);
public:
virtual int get_load_priority() const { return 1; }
virtual Resource::AsyncLoader *load(IO::Seekable &, const Resources * = 0);
- virtual UInt64 get_data_size() const;
+ virtual std::uint64_t get_data_size() const;
virtual void unload();
void set_debug_name(const std::string &);