summaryrefslogtreecommitdiff
path: root/indra/llrender/llrender.h
diff options
context:
space:
mode:
authorMark Palange <palange@lindenlab.com>2008-12-23 19:39:58 +0000
committerMark Palange <palange@lindenlab.com>2008-12-23 19:39:58 +0000
commitfb793870fe95f1951d7c30ea6068e187b9dededd (patch)
tree6d11632353ff4fb07133625ec5031b135b1e2882 /indra/llrender/llrender.h
parentd182b9fb82b9c63f41d81bc80dbbfe627475facf (diff)
QAR-1142 merging 1.22 RC0-RC4 changes.
svn merge -c 106471 svn+ssh://svn.lindenlab.com/svn/linden/qa/viewer_1-22-106055_merge
Diffstat (limited to 'indra/llrender/llrender.h')
-rw-r--r--indra/llrender/llrender.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/indra/llrender/llrender.h b/indra/llrender/llrender.h
index e604bbb84c..a9eca70744 100644
--- a/indra/llrender/llrender.h
+++ b/indra/llrender/llrender.h
@@ -135,12 +135,17 @@ public:
// Disables the current texture unit
void disable(void);
- // Binds the LLImageGL to this texture unit (automatically enables the unit for the LLImageGL's texture type)
- bool bind(const LLImageGL* texture);
- // Binds a cubemap to this texture unit (automatically enables the texture unit for cubemaps)
+ // Binds the LLImageGL to this texture unit
+ // (automatically enables the unit for the LLImageGL's texture type)
+ bool bind(const LLImageGL* texture, bool forceBind = false);
+
+ // Binds a cubemap to this texture unit
+ // (automatically enables the texture unit for cubemaps)
bool bind(LLCubeMap* cubeMap);
+
// Binds a render target to this texture unit (automatically enables the texture unit for the RT's texture type)
bool bind(LLRenderTarget * renderTarget, bool bindDepth = false);
+
// Manually binds a texture to the texture unit (automatically enables the tex unit for the given texture type)
bool bindManual(eTextureType type, U32 texture);