diff options
author | Dave Parks <davep@lindenlab.com> | 2013-02-20 19:30:46 -0600 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2013-02-20 19:30:46 -0600 |
commit | f67087b87277dc63096fbf4c42cdc17f84d3fbb8 (patch) | |
tree | 5d206d8f270b3af781b51787b9c11c4aba043eeb /indra/llrender/llrendertarget.cpp | |
parent | cc260a635674c56d8fab88a5cd4dd188b4c9ac9c (diff) |
MAINT-2370 Add debug setting "RenderAutoMuteRenderCostLimit" that automatically visually mutes avatars above a certain threshold (adjusted by Avatar Mesh Detail Slider)
Diffstat (limited to 'indra/llrender/llrendertarget.cpp')
-rw-r--r-- | indra/llrender/llrendertarget.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/llrender/llrendertarget.cpp b/indra/llrender/llrendertarget.cpp index e35feda2d5..e501d0495b 100644 --- a/indra/llrender/llrendertarget.cpp +++ b/indra/llrender/llrendertarget.cpp @@ -458,6 +458,12 @@ U32 LLRenderTarget::getTexture(U32 attachment) const return mTex[attachment]; } +U32 LLRenderTarget::getNumTextures() const +{ + return mTex.size(); +} + + void LLRenderTarget::bindTexture(U32 index, S32 channel) { gGL.getTexUnit(channel)->bindManual(mUsage, getTexture(index)); |