YAGE  v0.1.1
Yet Another Game Engine
yage::RenderBatch Class Reference

#include <spritebatch.h>

Public Member Functions

 RenderBatch (GLint offset, GLsizei num_vertices, GLuint texture)
 
GLint offset () const
 
GLsizei num_vertices () const
 
GLuint texture () const
 

Private Attributes

friend SpriteBatch
 
GLsizei num_vertices_
 
GLint offset_
 
GLuint texture_
 

Constructor & Destructor Documentation

◆ RenderBatch()

yage::RenderBatch::RenderBatch ( GLint  offset,
GLsizei  num_vertices,
GLuint  texture 
)

Member Function Documentation

◆ num_vertices()

GLsizei yage::RenderBatch::num_vertices ( ) const
inline

◆ offset()

GLint yage::RenderBatch::offset ( ) const
inline

◆ texture()

GLuint yage::RenderBatch::texture ( ) const
inline

Member Data Documentation

◆ num_vertices_

GLsizei yage::RenderBatch::num_vertices_
private

◆ offset_

GLint yage::RenderBatch::offset_
private

◆ SpriteBatch

friend yage::RenderBatch::SpriteBatch
private

◆ texture_

GLuint yage::RenderBatch::texture_
private

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