#include <shader.h>#include "adskExport.h"#include "adskShaderSDKNamespaceBegin.h"#include "adskShaderSDKNamespaceEnd.h"
Classes | |
| struct | RampColorEntry |
| Color ramp control point. More... | |
| struct | RampColor |
mental ray structure for an array of RampColorEntry. More... | |
| struct | RampFloatEntry |
| Float ramp control point. More... | |
| struct | RampFloat |
mental ray structure for an array of RampFloatEntry. More... | |
Enumerations | |
| enum | RampInterpType { RAMP_INTERP_NONE = 0, RAMP_INTERP_LINEAR, RAMP_INTERP_SMOOTH, RAMP_INTERP_SPLINE } |
| Ramp interpolation types. More... | |
Functions | |
| void | ramp_constructor (Ramp *ramp, miState *state, void *rampParms, miBoolean isColor) |
| Construct a ramp. | |
| void | ramp_destructor (Ramp *ramp) |
| Destruct a ramp. | |
| float | ramp_get_interp_float (const Ramp *ramp, float value) |
| Get the interpolated floating point value of the ramp at a given location. | |
| void | ramp_get_interp_color (const Ramp *ramp, float value, miColor *result) |
| Get the interpolated color value of the ramp at a given location. | |
Variables | |
| const unsigned int | MAX_RAMP_ENTRIES = 50 |
| Maximum number of entries in a ramp. | |
| enum RampInterpType |
| void ramp_constructor | ( | Ramp * | ramp, | |
| miState * | state, | |||
| void * | rampParms, | |||
| miBoolean | isColor | |||
| ) |
| void ramp_destructor | ( | Ramp * | ramp | ) |
| [in] | ramp | The ramp to be destructed. |
| void ramp_get_interp_color | ( | const Ramp * | ramp, | |
| float | value, | |||
| miColor * | result | |||
| ) |
| [in] | ramp | The ramp to query. |
| [in] | value | The location to lookup. |
| [out] | result | The color value of the ramp. |
| float ramp_get_interp_float | ( | const Ramp * | ramp, | |
| float | value | |||
| ) |
| [in] | ramp | The ramp to query. |
| [in] | value | The location to lookup. |
| Autodesk® Maya® 2012 © 2010 Autodesk, Inc. All rights reserved. |
Generated with
|