abstract base class for shaders that use a 2D texture for LUT lookup
More...
#include <View2DShader.h>
abstract base class for shaders that use a 2D texture for LUT lookup
Definition at line 87 of file View2DShader.h.
◆ View2DTextureLUTShader()
| View2DTextureLUTShader::View2DTextureLUTShader |
( |
| ) |
|
◆ ~View2DTextureLUTShader()
| View2DTextureLUTShader::~View2DTextureLUTShader |
( |
| ) |
|
|
override |
◆ bindFilterKernelTexture()
| void View2DTextureLUTShader::bindFilterKernelTexture |
( |
| ) |
|
|
overridevirtual |
bind the filter kernel texture
Reimplemented from View2DShader.
◆ bindLutTexture()
| void View2DTextureLUTShader::bindLutTexture |
( |
| ) |
|
|
overridevirtual |
bind the lut texture to the current texture unit
Reimplemented from View2DShader.
◆ createFilterKernelTexture()
| void View2DTextureLUTShader::createFilterKernelTexture |
( |
| ) |
|
|
protected |
create 1d filter kernel texture (using the approach described in section 20.2 of GPU Gems 2)
◆ createLutTexture()
| void View2DTextureLUTShader::createLutTexture |
( |
| ) |
|
|
protected |
creates a 2D texture from the shader's LUT
◆ desiredLutTextureFormat()
| static GLint View2DTextureLUTShader::desiredLutTextureFormat |
( |
| ) |
|
|
staticprotected |
◆ destroyFilterKernelTexture()
| void View2DTextureLUTShader::destroyFilterKernelTexture |
( |
| ) |
|
|
protected |
destroy the filter kernel
◆ destroyLutTexture()
| void View2DTextureLUTShader::destroyLutTexture |
( |
| ) |
|
|
protected |
◆ getLutHeightScaleFactor()
| float View2DTextureLUTShader::getLutHeightScaleFactor |
( |
| ) |
|
|
overridevirtual |
◆ getLutTextureSize()
| SbVec2s View2DTextureLUTShader::getLutTextureSize |
( |
| ) |
|
|
overridevirtual |
◆ updateLutTexture()
| void View2DTextureLUTShader::updateLutTexture |
( |
| ) |
|
|
protected |
upload the lut to the texture (texture must be already created)
◆ _kernelTexture
| ml::GLTexture View2DTextureLUTShader::_kernelTexture |
|
protected |
◆ _lutHeight
| int View2DTextureLUTShader::_lutHeight |
|
protected |
number of COMPLETE texture rows used by the LUT (an additional row may be used partly)
Definition at line 129 of file View2DShader.h.
◆ _lutTexture
| ml::GLTexture View2DTextureLUTShader::_lutTexture |
|
protected |
◆ _lutTextureFormat
| GLint View2DTextureLUTShader::_lutTextureFormat |
|
protected |
◆ _lutTextureHeight
| int View2DTextureLUTShader::_lutTextureHeight |
|
protected |
◆ _lutTextureWidth
| int View2DTextureLUTShader::_lutTextureWidth |
|
protected |
The documentation for this class was generated from the following file: