#include <assert.h>
Typedefs | |
typedef float(* | CONVERTER )(float a) |
Pointer to a float/float function that transforms the given parameter value. Also see noconvert(). | |
typedef void(* | ONCHANGE_CALLBACK )(void) |
Pointer to a void/void function describing an action that must be performed when the given parameter changes. Also see OnChange(). | |
Enumerations | |
enum | method_t { IDEAL, IDEAL_LOCALIZED, DIFFUSE_SPECULAR, DIFFUSE_SPECULAR_LOCALIZED_COSTEX, DIFFUSE_SPECULAR_LOCALIZED } |
Enumerates the available rendering methods. Parameter iWhichMethod will have one of these values. More... | |
enum | bool_t { bShowHelp, bCubeMapFromFile, bAutoGenCubeMap, LAST_BOOL } |
enum | number_t { iWhichMethod, iWhichMetal, iShowCubeMap, sFresnel, refractionIndex, fIntensity, iShininess, LAST_NUMBER } |
enum | defaultbutton_t { IDC_RESET_BUTTON = -3, IDC_SAVE_BUTTON, IDC_LOAD_BUTTON } |
These three buttons are present by default. More... | |
enum | control_t { checkboxID0 = 1000, sliderID0 = 2000, staticID0 = 3000, upID0 = 4000, downID0 = 5000 } |
Specifies the id domain reserved for each GUI control type. More... | |
Functions | |
float | noconvert (float a) |
Default transformation for the parameter values. The argument is returned unchanged, no conversion is performed. | |
void | OnChange () |
Default action for a parameter change. Does nothing. |
|
Pointer to a float/float function that transforms the given parameter value. Also see noconvert().
|
|
Pointer to a void/void function describing an action that must be performed when the given parameter changes. Also see OnChange().
|
|
|
|
Specifies the id domain reserved for each GUI control type.
|
|
These three buttons are present by default.
|
|
Enumerates the available rendering methods. Parameter iWhichMethod will have one of these values.
|
|
|
|
Default transformation for the parameter values. The argument is returned unchanged, no conversion is performed. See CONVERTER function pointer type. |
|
Default action for a parameter change. Does nothing. See ONCHANGE_CALLBACK function pointer type. |