qCC_db version 2.13.alpha (Qt) - 31 May 2022
CloudCompare 3D entities
|
Public Member Functions | |
ccColorRampShader () | |
Default constructor. | |
virtual | ~ccColorRampShader () |
Destructor. | |
bool | setup (QOpenGLFunctions_2_1 *glFunc, float minSatRel, float maxSatRel, unsigned colorSteps, const ccColorScale::Shared &colorScale) |
Setups shader. More... | |
Static Public Member Functions | |
static unsigned | MaxColorRampSize () |
Returns the maximum color ramp size. | |
static GLint | MinRequiredBytes () |
Returns the minimum memory required on the shader side. More... | |
|
static |
Returns the minimum memory required on the shader side.
See GL_MAX_FRAGMENT_UNIFORM_COMPONENTS
bool ccColorRampShader::setup | ( | QOpenGLFunctions_2_1 * | glFunc, |
float | minSatRel, | ||
float | maxSatRel, | ||
unsigned | colorSteps, | ||
const ccColorScale::Shared & | colorScale | ||
) |
Setups shader.
Shader must have already been stared!