Visualization Library v1.0.3

A lightweight C++ OpenGL middleware for 2D/3D graphics

VL     Star     Watch     Fork     Issue

[Download] [Tutorials] [All Classes] [Grouped Classes]
Classes | Public Member Functions | Protected Attributes

vl::RenderQueue Class Reference

The RenderQueue class collects a list of RenderToken objects to be sorted and rendered. More...

#include <RenderQueue.hpp>

Inheritance diagram for vl::RenderQueue:
vl::Object

List of all members.

Classes

class  Sorter

Public Member Functions

 RenderQueue ()
const RenderTokenat (int i) const
RenderTokenat (int i)
RenderTokennewToken (bool multipass)
void clear ()
bool empty ()
int size () const
void sort (RenderQueueSorter *sorter, Camera *camera)

Protected Attributes

std::vector< ref< RenderToken > > mList
std::vector< ref< RenderToken > > mListMP
int mSize
int mSizeMP

Detailed Description

The RenderQueue class collects a list of RenderToken objects to be sorted and rendered.

Definition at line 45 of file RenderQueue.hpp.


Constructor & Destructor Documentation

vl::RenderQueue::RenderQueue (  ) [inline]

Definition at line 50 of file RenderQueue.hpp.

References mList, mListMP, and VL_DEBUG_SET_OBJECT_NAME.


Member Function Documentation

const RenderToken* vl::RenderQueue::at ( int  i ) const [inline]
RenderToken* vl::RenderQueue::at ( int  i ) [inline]

Definition at line 59 of file RenderQueue.hpp.

References mList.

RenderToken* vl::RenderQueue::newToken ( bool  multipass ) [inline]

Definition at line 61 of file RenderQueue.hpp.

References mList, mListMP, mSize, and mSizeMP.

Referenced by vl::Rendering::fillRenderQueue().

void vl::RenderQueue::clear (  ) [inline]

Definition at line 79 of file RenderQueue.hpp.

References mSize, and mSizeMP.

Referenced by vl::Rendering::render().

bool vl::RenderQueue::empty (  ) [inline]

Definition at line 85 of file RenderQueue.hpp.

References mSize.

int vl::RenderQueue::size (  ) const [inline]
void vl::RenderQueue::sort ( RenderQueueSorter sorter,
Camera camera 
) [inline]

Member Data Documentation

std::vector< ref<RenderToken> > vl::RenderQueue::mList [protected]

Definition at line 142 of file RenderQueue.hpp.

Referenced by at(), newToken(), RenderQueue(), and sort().

std::vector< ref<RenderToken> > vl::RenderQueue::mListMP [protected]

Definition at line 143 of file RenderQueue.hpp.

Referenced by newToken(), and RenderQueue().

int vl::RenderQueue::mSize [protected]

Definition at line 144 of file RenderQueue.hpp.

Referenced by clear(), empty(), newToken(), and size().

int vl::RenderQueue::mSizeMP [protected]

Definition at line 145 of file RenderQueue.hpp.

Referenced by clear(), and newToken().


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

Visualization Library v1.0.3 Reference Documentation
Copyright Michele Bosi. All rights reserved.
Updated on Tue Feb 7 2017 00:55:11.
Permission is granted to use this page to write and publish articles regarding Visualization Library.