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

StelQGL2InterleavedArrayVertexBufferBackend Class Reference

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

#include <StelQGL2InterleavedArrayVertexBufferBackend.hpp>

List of all members.

Public Member Functions

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

Detailed Description

OpenGL 2 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 StelQGL2InterleavedArrayVertexBufferBackend.hpp.


Member Function Documentation

void StelQGL2InterleavedArrayVertexBufferBackend::draw ( class StelQGL2Renderer renderer,
const Mat4f projectionMatrix,
class StelQGLIndexBuffer indexBuffer,
class StelQGLGLSLShader shader 
)

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

Called by StelQGL2Renderer::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.
shader Shader used for drawing, with any needed projection/transform shaders enabled.

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