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

StelQGL1InterleavedArrayVertexBufferBackend Class Reference

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

#include <StelQGL1InterleavedArrayVertexBufferBackend.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 indices to draw.

Detailed Description

OpenGL 1 interleaved vertex array 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 31 of file StelQGL1InterleavedArrayVertexBufferBackend.hpp.


Member Function Documentation

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

Draw the vertex buffer, optionally with index buffer specifying which indices 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