18 lines
252 B
C++
18 lines
252 B
C++
#pragma once
|
|
#include "VertexArray.h"
|
|
#include "IndexBuffer.h"
|
|
|
|
namespace nf {
|
|
class Drawable {
|
|
public:
|
|
Drawable();
|
|
|
|
virtual void bind();
|
|
unsigned int getIndexCount();
|
|
|
|
~Drawable();
|
|
protected:
|
|
VertexArray* m_vao;
|
|
IndexBuffer* m_ib;
|
|
};
|
|
} |