#include <tilebuf.h>


Public Member Functions | |
| VertBuffer (bool texture, bool colour, const GenericTexture *tex=NULL, drawing_modes prim=GLW_RECTANGLE) | |
| ~VertBuffer () | |
| void | draw () const |
| const GLState & | state () const |
| const GenericTexture * | current_texture () const |
| unsigned int | size () const |
| void | add_primitive (const GLWPrim &rect) |
| void | clear () |
| void | set_tex (const GenericTexture *tex) |
Protected Attributes | |
| const GenericTexture * | m_tex |
| GLShapeBuffer * | m_vert_buf |
| GLState | m_state |
| drawing_modes | m_prim |
| bool | m_colour_verts |
| bool | m_texture_verts |
| VertBuffer::VertBuffer | ( | bool | texture, | |
| bool | colour, | |||
| const GenericTexture * | tex = NULL, |
|||
| drawing_modes | prim = GLW_RECTANGLE | |||
| ) |
| VertBuffer::~VertBuffer | ( | ) |
| void VertBuffer::draw | ( | ) | const |
| const GLState& VertBuffer::state | ( | ) | const [inline] |
| const GenericTexture* VertBuffer::current_texture | ( | ) | const [inline] |
| unsigned int VertBuffer::size | ( | ) | const |
| void VertBuffer::add_primitive | ( | const GLWPrim & | rect | ) |
| void VertBuffer::clear | ( | ) |
| void VertBuffer::set_tex | ( | const GenericTexture * | tex | ) |
const GenericTexture* VertBuffer::m_tex [protected] |
GLShapeBuffer* VertBuffer::m_vert_buf [protected] |
GLState VertBuffer::m_state [protected] |
drawing_modes VertBuffer::m_prim [protected] |
bool VertBuffer::m_colour_verts [protected] |
bool VertBuffer::m_texture_verts [protected] |
1.5.6