frei0r: Parameter Types

- Main Page
- Modules
- Data Structures
- Files
- Directories

# Parameter Types

## Data Structures
struct | f0r_param_color
struct | f0r_param_position
## Defines
#define | F0R_PARAM_BOOL 0
#define | F0R_PARAM_DOUBLE 1
#define | F0R_PARAM_COLOR 2
#define | F0R_PARAM_POSITION 3
#define | F0R_PARAM_STRING 4
## Typedefs
typedef double | f0r_param_bool
typedef double | f0r_param_double
typedef f0r_param_color | f0r_param_color_t
typedef f0r_param_position | f0r_param_position_t
typedef char | f0r_param_string

## Define Documentation

#define F0R_PARAM_BOOL 0

| Parameter type for boolean values See also: f0r_param_bool

#define F0R_PARAM_COLOR 2

| Parameter type for color See also: f0r_param_color

#define F0R_PARAM_DOUBLE 1

| Parameter type for doubles See also: f0r_param_double

#define F0R_PARAM_POSITION 3

| Parameter type for position See also: f0r_param_position

#define F0R_PARAM_STRING 4

| Parameter type for string See also: f0r_param_string

## Typedef Documentation

typedef double f0r_param_bool

| The boolean type. The allowed range of values is [0, 1]. [0, 0.5[ is mapped to false and [0.5, 1] is mapped to true.

typedef struct f0r_param_color f0r_param_color_t

| The color type. All three color components are in the range [0, 1].

typedef double f0r_param_double

| The double type. The allowed range of values is [0, 1].

typedef struct f0r_param_position f0r_param_position_t

| The position type. Both position coordinates are in the range [0, 1].

typedef char f0r_param_string

| The string type. Zero terminated array of 8-bit values in utf-8 encoding