#include <GameApi.hh>
|
| IMPORT | ColorVolumeApi (Env &e) |
| IMPORT COV | function (std::function< unsigned int(float x, float y, float z)> f) |
| IMPORT COV | from_float_volume (FO obj, unsigned int col0, unsigned int col1) |
| IMPORT COV | from_volume (O obj, unsigned int col_true, unsigned int col_false) |
| IMPORT COV | from_continuous_bitmap (CBM bm) |
| IMPORT COV | mix (COV p1, COV p2, float value) |
| IMPORT COV | or_cov (COV p1, COV p2) |
| IMPORT COV | phong (VO normal, PT light_pos, CO i_s, CO i_d, CO i_a, float k_s, float k_d, float k_a, float alfa) |
| IMPORT COV | directcolor (VO normal) |
| IMPORT P | texture (P obj, COV colors) |
| IMPORT BM | texture_bm (P obj, COV colors, int face, int sx, int sy) |
| IMPORT BM | array_bm (COV colours, int sx, int sy, float ssx, float ssy, float z) |
◆ ColorVolumeApi()
| GameApi::ColorVolumeApi::ColorVolumeApi |
( |
Env & | e | ) |
|
◆ array_bm()
| EXPORT GameApi::BM GameApi::ColorVolumeApi::array_bm |
( |
COV | colours, |
|
|
int | sx, |
|
|
int | sy, |
|
|
float | ssx, |
|
|
float | ssy, |
|
|
float | z ) |
◆ directcolor()
◆ from_continuous_bitmap()
◆ from_float_volume()
| EXPORT GameApi::COV GameApi::ColorVolumeApi::from_float_volume |
( |
FO | obj, |
|
|
unsigned int | col0, |
|
|
unsigned int | col1 ) |
◆ from_volume()
| EXPORT GameApi::COV GameApi::ColorVolumeApi::from_volume |
( |
O | obj, |
|
|
unsigned int | col_true, |
|
|
unsigned int | col_false ) |
◆ function()
| EXPORT GameApi::COV GameApi::ColorVolumeApi::function |
( |
std::function< unsigned int(float x, float y, float z)> | f | ) |
|
◆ mix()
◆ or_cov()
◆ phong()
| EXPORT GameApi::COV GameApi::ColorVolumeApi::phong |
( |
VO | normal, |
|
|
PT | light_pos, |
|
|
CO | i_s, |
|
|
CO | i_d, |
|
|
CO | i_a, |
|
|
float | k_s, |
|
|
float | k_d, |
|
|
float | k_a, |
|
|
float | alfa ) |
◆ texture()
| IMPORT P GameApi::ColorVolumeApi::texture |
( |
P | obj, |
|
|
COV | colors ) |
◆ texture_bm()
The documentation for this class was generated from the following files: