Stellarium 0.12.0
Home · All Namespaces · All Classes · Functions · Coding Style · Scripting · Plugins · Renderer · File Structure

StelQGL1ArrayVertexBufferBackend Class Reference

OpenGL 1 vertex array style VertexBuffer backend. More...

#include <StelQGL1ArrayVertexBufferBackend.hpp>

List of all members.

Public Member Functions

void draw (class StelQGL1Renderer &renderer, const Mat4f &projectionMatrix, class StelQGLIndexBuffer *indexBuffer)
 Draw the vertex buffer, optionally with index buffer specifying which vertices to draw.

Detailed Description

OpenGL 1 vertex array style VertexBuffer backend.

Note:
This is an internal class of the Renderer subsystem and should not be used elsewhere.
See also:
StelVertexBuffer, StelRenderer

Definition at line 32 of file StelQGL1ArrayVertexBufferBackend.hpp.


Member Function Documentation

void StelQGL1ArrayVertexBufferBackend::draw ( class StelQGL1Renderer renderer,
const Mat4f projectionMatrix,
class StelQGLIndexBuffer indexBuffer 
)

Draw the vertex buffer, optionally with index buffer specifying which vertices to draw.

Called by StelQGL1Renderer::drawVertexBufferBackend().

Parameters:
renderer Renderer that created this buffer.
projectionMatrix Projection matrix (column-major) used for drawing.
indexBuffer If NULL, all vertices in the buffer are drawn in the order they are stored. If not NULL, specifies indices of vertices to draw.

The documentation for this class was generated from the following file:
Generated on Thu Jan 31 14:05:46 2013 for Stellarium by  doxygen 1.6.3