- use more desctiptive names for the predefined vertex buffer indices.
This commit is contained in:
parent
4a822a8f50
commit
4ab8ca63ce
6 changed files with 19 additions and 2 deletions
|
|
@ -83,6 +83,13 @@ class FFlatVertexBuffer : public FVertexBuffer
|
|||
static const unsigned int BUFFER_SIZE_TO_USE = 1999500;
|
||||
|
||||
public:
|
||||
enum
|
||||
{
|
||||
QUAD_INDEX = 0,
|
||||
FULLSCREEN_INDEX = 4,
|
||||
PRESENT_INDEX = 8
|
||||
};
|
||||
|
||||
TArray<FFlatVertex> vbo_shadowdata; // this is kept around for updating the actual (non-readable) buffer and as stand-in for pre GL 4.x
|
||||
|
||||
FFlatVertexBuffer(int width, int height);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue