BARE2D
RenderBatch Class Reference

The RenderBatch essentially represents a single drawn object - normally 6 vertices (a rectangle), but can be otherwise. More...

#include <RenderBatch.hpp>

+ Collaboration diagram for RenderBatch:

Public Member Functions

 RenderBatch (GLuint Offset, GLuint NumVertices, GLuint TextureID)
 

Data Fields

GLuint offset
 
GLuint numVertices
 
GLuint textureID
 

Detailed Description

The RenderBatch essentially represents a single drawn object - normally 6 vertices (a rectangle), but can be otherwise.

Definition at line 9 of file RenderBatch.hpp.

Constructor & Destructor Documentation

◆ RenderBatch()

RenderBatch::RenderBatch ( GLuint  Offset,
GLuint  NumVertices,
GLuint  TextureID 
)
inline

Definition at line 12 of file RenderBatch.hpp.

Field Documentation

◆ numVertices

GLuint RenderBatch::numVertices

Definition at line 16 of file RenderBatch.hpp.

◆ offset

GLuint RenderBatch::offset

Definition at line 15 of file RenderBatch.hpp.

◆ textureID

GLuint RenderBatch::textureID

Definition at line 17 of file RenderBatch.hpp.


The documentation for this class was generated from the following file: