- added an abstract base vertex buffer class.

This commit is contained in:
Christoph Oelckers 2018-10-27 09:07:26 +02:00
commit bb09f5488f
6 changed files with 228 additions and 8 deletions

View file

@ -32,6 +32,7 @@
#include "r_data/models/models.h"
#include "hwrenderer/data/flatvertices.h"
#include "hwrenderer/scene/hw_skydome.h"
#include "hwrenderer/data/vertexbuffer.h"
struct vertex_t;
struct secplane_t;
@ -39,14 +40,6 @@ struct subsector_t;
struct sector_t;
class FMaterial;
enum
{
VATTR_VERTEX_BIT,
VATTR_TEXCOORD_BIT,
VATTR_COLOR_BIT,
VATTR_VERTEX2_BIT,
VATTR_NORMAL_BIT
};
class FVertexBuffer