#include <sglCull.hpp>
Inheritance diagram for sglCull::
Public Methods | |
sglCull () | |
virtual | ~sglCull () |
void | setSortOrder (const vector< unsigned int > &sort_order) |
const vector<unsigned int>& | getSortOrder () const |
void | initialize (float lod_scale, unsigned int discriminator_mask, unsigned int state_mask, const sglMat4< T > &view_matrix, const sglFrustum< T > &frustum, unsigned int viewport_x, unsigned int viewport_y, const vector< const sglStatelet *> &default_statelets, const deque< const sglStatelet *> &override_statelets, unsigned int frame_count, const sglTimespec &frame_time) |
unsigned int | getStateMask () const |
void | getViewportSize (unsigned int &x, unsigned int &y) |
sglFrustum<T>& | getOrigFrustum () |
sglFrustum<T>& | getFrustum () |
void | pushModelViewMatrix (const sglMat4< T > &matrix, bool rescale, bool normalize) |
const sglMat4<T>& | getModelViewMatrix () |
void | popModelViewMatrix () |
void | pushDefaultStatelet (const sglStatelet *state) |
void | popDefaultStatelet () |
void | pushOverrideStatelet (const sglStatelet *state) |
void | popOverrideStatelet () |
void | addDrawable (const sglDrawable *geom, const sglDrawable::StateElement *state) |
sglDrawablePool* | pushDrawablePool () |
void | popDrawablePool () |
void | addLight (const sglLight *light) |
void | setLightProcessor (sglLightProcessor *light_processor) |
sglLightProcessor* | getLightProcessor () const |
virtual void | draw () |
Protected Methods | |
bool | initState () |
Protected Attributes | |
unsigned int | m_state_mask |
unsigned int | m_viewport_x |
unsigned int | m_viewport_y |
sglFrustum<T> | m_orig_frustum |
sglFrustum<T> | m_current_frustum |
vector<sglTransformStatelet< T>*> | m_current_matrix_statelet |
unsigned int | m_num_matrices |
vector<const sglStatelet*> | m_statelet |
vector<bool> | m_override |
vector<const sglStatelet*> | m_default_state_stack |
vector<const sglStatelet*> | m_override_state_stack |
sglCurrState | m_curr_state |
sglDrawablePoolSources | m_drawable_pool_sources |
sglCullDrawablePool | m_default_bin |
vector< sglDrawablePool* > | m_drawable_pool_stack |
sglObjPool< sglTransformStatelet< T> > | m_transform_pool |
sglObjPool< sglFullState > | m_state_pool |
sglLightProcessor* | m_light_processor |
Definition at line 298 of file sglCull.hpp.
|
Set the light processor.
|
|
Query the current light processor object.
Definition at line 422 of file sglCull.hpp. |