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

#include <GameApi.hh>

Public Member Functions

IMPORT StateChangeApi (Env &e, ShaderApi &api)
IMPORT TR init (int paths)
IMPORT TR linear (TR s, int path_num, std::function< P(float val)> f, float start_v, float end_v, float duration)
TR linear_1 (TR s, int path_num, std::function< P(float val)> f, float start_v, float end_v, float duration)
IMPORT VV prepare (TR sc)
VV prepare_1 (TR sc)
IMPORT VV prepareloop (float *array, int arraysize, std::function< P(float val)> f, float step_duration)
IMPORT void render (VV sc, float time, SH shadero)
IMPORT void render (VV sc, float time, SH shadero, float(*fptr)(int path, std::string name))

Constructor & Destructor Documentation

◆ StateChangeApi()

EXPORT GameApi::StateChangeApi::StateChangeApi ( GameApi::Env & e,
GameApi::ShaderApi & api )

Member Function Documentation

◆ init()

EXPORT GameApi::TR GameApi::StateChangeApi::init ( int paths)
Here is the caller graph for this function:

◆ linear()

EXPORT GameApi::TR GameApi::StateChangeApi::linear ( TR s,
int path_num,
std::function< P(float val)> f,
float start_v,
float end_v,
float duration )
Here is the caller graph for this function:

◆ linear_1()

GameApi::TR GameApi::StateChangeApi::linear_1 ( TR s,
int path_num,
std::function< P(float val)> f,
float start_v,
float end_v,
float duration )
Here is the caller graph for this function:

◆ prepare()

EXPORT GameApi::VV GameApi::StateChangeApi::prepare ( TR sc)
Here is the caller graph for this function:

◆ prepare_1()

GameApi::VV GameApi::StateChangeApi::prepare_1 ( TR sc)
Here is the caller graph for this function:

◆ prepareloop()

EXPORT GameApi::VV GameApi::StateChangeApi::prepareloop ( float * array,
int arraysize,
std::function< P(float val)> f,
float step_duration )

◆ render() [1/2]

EXPORT void GameApi::StateChangeApi::render ( VV sc,
float time,
SH shadero )
Here is the caller graph for this function:

◆ render() [2/2]

EXPORT void GameApi::StateChangeApi::render ( VV sc,
float time,
SH shadero,
float(* fptr )(int path, std::string name) )

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