#include <lldrawpoolsimple.h>


Public Types | |
| enum | { VERTEX_DATA_MASK } |
Public Member Functions | |
| virtual U32 | getVertexDataMask () |
| LLDrawPoolSimple () | |
| void | beginRenderPass (S32 pass) |
| void | endRenderPass (S32 pass) |
| S32 | getNumPasses () |
| We need two passes so we can handle emissive materials separately. | |
| void | render (S32 pass=0) |
| void | prerender () |
Definition at line 37 of file lldrawpoolsimple.h.
| anonymous enum |
| LLDrawPoolSimple::LLDrawPoolSimple | ( | ) |
Definition at line 88 of file lldrawpoolsimple.cpp.
| virtual U32 LLDrawPoolSimple::getVertexDataMask | ( | ) | [inline, virtual] |
Implements LLDrawPool.
Definition at line 47 of file lldrawpoolsimple.h.
References VERTEX_DATA_MASK.
Referenced by render().

| void LLDrawPoolSimple::beginRenderPass | ( | S32 | pass | ) | [virtual] |
Reimplemented from LLDrawPool.
Definition at line 98 of file lldrawpoolsimple.cpp.
References LLGLSLShader::bind(), LLFastTimer::FTM_RENDER_SIMPLE, LLShaderMgr::FULLBRIGHT, gGLManager, gObjectFullbrightProgram, gObjectFullbrightWaterProgram, gObjectSimpleProgram, gObjectSimpleWaterProgram, LLGLManager::mHasShaderObjects, LLDrawPool::mVertexShaderLevel, LLPipeline::sUnderWaterRender, and LLGLSLShader::uniform1f().

| void LLDrawPoolSimple::endRenderPass | ( | S32 | pass | ) | [virtual] |
Reimplemented from LLDrawPool.
Definition at line 128 of file lldrawpoolsimple.cpp.
References LLDrawPool::endRenderPass(), LLFastTimer::FTM_RENDER_SIMPLE, LLDrawPool::mVertexShaderLevel, and LLGLSLShader::unbind().

| S32 LLDrawPoolSimple::getNumPasses | ( | ) | [inline, virtual] |
We need two passes so we can handle emissive materials separately.
Reimplemented from LLDrawPool.
Definition at line 54 of file lldrawpoolsimple.h.
| void LLDrawPoolSimple::render | ( | S32 | pass = 0 |
) | [virtual] |
Implements LLDrawPool.
Definition at line 139 of file lldrawpoolsimple.cpp.
References LLGLSLShader::bind(), LLGLImmediate::blendFunc(), LLPipeline::canUseWindLightShadersOnObjects(), LLPipeline::enableLightsDynamic(), LLPipeline::enableLightsFullbright(), LLFastTimer::FTM_RENDER_FULLBRIGHT, LLFastTimer::FTM_RENDER_GRASS, LLFastTimer::FTM_RENDER_SIMPLE, LLShaderMgr::FULLBRIGHT, getVertexDataMask(), gGL, gPipeline, LLVertexBuffer::MAP_COLOR, LLVertexBuffer::MAP_TEXCOORD, LLVertexBuffer::MAP_VERTEX, LLDrawPool::mVertexShaderLevel, LLRenderPass::PASS_FULLBRIGHT, LLRenderPass::PASS_GRASS, LLRenderPass::PASS_SIMPLE, LLRenderPass::renderTexture(), and LLGLSLShader::uniform1f().

| void LLDrawPoolSimple::prerender | ( | ) | [virtual] |
Implements LLDrawPool.
Definition at line 93 of file lldrawpoolsimple.cpp.
References LLShaderMgr::getVertexShaderLevel(), LLDrawPool::mVertexShaderLevel, and LLShaderMgr::SHADER_OBJECT.

1.5.5