GameApi 28
Library used by GameApi Builder tool
Loading...
Searching...
No Matches
GameApi::ColorVolumeApi Class Reference

#include <GameApi.hh>

Public Member Functions

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)

Constructor & Destructor Documentation

◆ ColorVolumeApi()

GameApi::ColorVolumeApi::ColorVolumeApi ( Env & e)
Here is the caller graph for this function:

Member Function Documentation

◆ array_bm()

EXPORT GameApi::BM GameApi::ColorVolumeApi::array_bm ( COV colours,
int sx,
int sy,
float ssx,
float ssy,
float z )

◆ directcolor()

EXPORT GameApi::COV GameApi::ColorVolumeApi::directcolor ( VO normal)
Here is the caller graph for this function:

◆ from_continuous_bitmap()

EXPORT GameApi::COV GameApi::ColorVolumeApi::from_continuous_bitmap ( CBM bm)
Here is the caller graph for this function:

◆ from_float_volume()

EXPORT GameApi::COV GameApi::ColorVolumeApi::from_float_volume ( FO obj,
unsigned int col0,
unsigned int col1 )
Here is the caller graph for this function:

◆ from_volume()

EXPORT GameApi::COV GameApi::ColorVolumeApi::from_volume ( O obj,
unsigned int col_true,
unsigned int col_false )
Here is the caller graph for this function:

◆ function()

EXPORT GameApi::COV GameApi::ColorVolumeApi::function ( std::function< unsigned int(float x, float y, float z)> f)

◆ mix()

EXPORT GameApi::COV GameApi::ColorVolumeApi::mix ( COV p1,
COV p2,
float value )
Here is the caller graph for this function:

◆ or_cov()

IMPORT COV GameApi::ColorVolumeApi::or_cov ( COV p1,
COV p2 )
Here is the caller graph for this function:

◆ 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()

EXPORT GameApi::BM GameApi::ColorVolumeApi::texture_bm ( GameApi::P obj,
GameApi::COV colors,
int face,
int sx,
int sy )

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