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
[legend]
Collaboration diagram for ccColorRampShader:
Collaboration graph
[legend]

Public Member Functions

 ccColorRampShader ()
 Default constructor.
 
virtual ~ccColorRampShader ()
 Destructor.
 
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 ( )
inlinestatic

Returns the minimum memory required on the shader side.

See GL_MAX_FRAGMENT_UNIFORM_COMPONENTS

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

Setups shader.

Shader must have already been stared!


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