qCC_db  version 2.5.4 (Qt) - 19 Apr 2014
 All Classes Functions Variables Typedefs Enumerations Enumerator Pages
Public Member Functions | Static Public Member Functions | List of all members
ccColorRampShader Class Reference
Inheritance diagram for ccColorRampShader:
Inheritance graph
Collaboration diagram for ccColorRampShader:
Collaboration graph

Public Member Functions

 ccColorRampShader ()
 Default constructor.
virtual ~ccColorRampShader ()
bool setup (float minSatRel, float maxSatRel, unsigned colorSteps, const ccColorScale::Shared &colorScale)
 Setups shader. More...

Static Public Member Functions

static GLint MinRequiredBytes ()
 Returns the minimum memory required on the shader side. More...

Member Function Documentation

static GLint ccColorRampShader::MinRequiredBytes ( )

Returns the minimum memory required on the shader side.


bool ccColorRampShader::setup ( float  minSatRel,
float  maxSatRel,
unsigned  colorSteps,
const ccColorScale::Shared colorScale 

Setups shader.

Shader must have already been stared!

The documentation for this class was generated from the following file: