summaryrefslogtreecommitdiff
path: root/source/modules/asura-core/graphics/vertex_buffer.h
blob: f00b4d2017af7a9ab93b4e23ac4ab9841815c8e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#ifndef __ASURA_VERTEX_BUFFER_H__
#define __ASURA_VERTEX_BUFFER_H__

#include <asura-utils/scripting/portable.hpp>

#include "gpu_buffer.h"

namespace AsuraEngine
{
	namespace Graphics
	{

		class VertexBuffer ASURA_FINAL 
			: public AEScripting::Portable<VertexBuffer>
			, public GPUBuffer
		{
		public:

			VertexBuffer(BufferUsage usage, BufferDataType datatype, size_t size);
			~VertexBuffer();

		private:

			LUAX_DECL_FACTORY(VertexBuffer);

			LUAX_DECL_METHOD(_New);

		};

	}
}

#endif