summaryrefslogtreecommitdiff
path: root/source/modules/asura-core/Graphics/IndexBuffer.h
blob: 73a6f9bba3158b6c260747f84eedd88c49aa77e0 (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
34
#ifndef _ASURA_INDEX_BUFFER_H_
#define _ASURA_INDEX_BUFFER_H_

#include <asura-utils/Scripting/Portable.hpp>

#include "GPUBuffer.h"

namespace_begin(AsuraEngine)
namespace_begin(Graphics)

///
/// 
///
class IndexBuffer ASURA_FINAL
	: public AEScripting::Portable<IndexBuffer>
	, public GPUBuffer
{
public:

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

luaxport:

	LUAX_DECL_FACTORY(IndexBuffer);

	LUAX_DECL_METHOD(_New);

};

namespace_end
namespace_end

#endif