GameApi 28
Library used by GameApi Builder tool
Loading...
Searching...
No Matches
GLTF_Material_env Class Reference
Inheritance diagram for GLTF_Material_env:
Collaboration diagram for GLTF_Material_env:

Public Member Functions

 GLTF_Material_env (GameApi::Env &e, GameApi::EveryApi &ev, GLTFModelInterface *interface, int material_id, float mix, GameApi::BM diffuse_env, GameApi::BM specular_env, GameApi::BM brfd)
int num_indexes () const
int map_index (int j) const
int num_textures () const
GameApi::BM texture (int i) const
bool has_texture (int i) const
int type (int i) const
virtual GameApi::ML mat2 (GameApi::P p) const
virtual GameApi::ML mat2_inst (GameApi::P p, GameApi::PTS pts) const
virtual GameApi::VA mat2_inst_va_prepare (GameApi::P p) const
virtual GameApi::ML mat2_inst_va (GameApi::VA va, GameApi::PTS pts) const
virtual GameApi::ML mat2_inst_matrix (GameApi::P p, GameApi::MS ms) const
virtual GameApi::ML mat2_inst2 (GameApi::P p, GameApi::PTA pta) const
virtual GameApi::ML mat_inst_fade (GameApi::P p, GameApi::PTS pts, bool flip, float start_time, float end_time) const
Public Member Functions inherited from MaterialForward
GameApi::ML call (GameApi::P p) const
GameApi::ML call_inst (GameApi::P p, GameApi::PTS pts)
GameApi::ML call_inst_matrix (GameApi::P p, GameApi::MS ms)
int mat (int p) const
int mat_inst (int p, int pts) const
int mat_inst_va_prepare (int p) const
int mat_inst_va (int va, int pts) const
int mat_inst_matrix (int p, int ms) const
int mat_inst2 (int p, int pta) const
int mat_inst_fade (int p, int pts, bool flip, float start_time, float end_time) const
GameApi::ML call (GameApi::P p) const
GameApi::ML call_inst (GameApi::P p, GameApi::PTS pts)
GameApi::ML call_inst_matrix (GameApi::P p, GameApi::MS ms)
int mat (int p) const
int mat_inst (int p, int pts) const
int mat_inst_va_prepare (int p) const
int mat_inst_va (int va, int pts) const
int mat_inst_matrix (int p, int ms) const
int mat_inst2 (int p, int pta) const
int mat_inst_fade (int p, int pts, bool flip, float start_time, float end_time) const
GameApi::ML call (GameApi::P p) const
GameApi::ML call_inst (GameApi::P p, GameApi::PTS pts)
int mat (int p) const
int mat_inst (int p, int pts) const
int mat_inst2 (int p, int pta) const
int mat_inst_fade (int p, int pts, bool flip, float start_time, float end_time) const
Public Member Functions inherited from Material
virtual ~Material ()
virtual void logoexecute ()

Constructor & Destructor Documentation

◆ GLTF_Material_env()

GLTF_Material_env::GLTF_Material_env ( GameApi::Env & e,
GameApi::EveryApi & ev,
GLTFModelInterface * interface,
int material_id,
float mix,
GameApi::BM diffuse_env,
GameApi::BM specular_env,
GameApi::BM brfd )
inline

Member Function Documentation

◆ has_texture()

bool GLTF_Material_env::has_texture ( int i) const
inline
Here is the caller graph for this function:

◆ map_index()

int GLTF_Material_env::map_index ( int j) const
inline
Here is the caller graph for this function:

◆ mat2()

virtual GameApi::ML GLTF_Material_env::mat2 ( GameApi::P p) const
inlinevirtual

Implements MaterialForward.

◆ mat2_inst()

virtual GameApi::ML GLTF_Material_env::mat2_inst ( GameApi::P p,
GameApi::PTS pts ) const
inlinevirtual

Implements MaterialForward.

◆ mat2_inst2()

virtual GameApi::ML GLTF_Material_env::mat2_inst2 ( GameApi::P p,
GameApi::PTA pta ) const
inlinevirtual

Implements MaterialForward.

◆ mat2_inst_matrix()

virtual GameApi::ML GLTF_Material_env::mat2_inst_matrix ( GameApi::P p,
GameApi::MS ms ) const
inlinevirtual

Implements MaterialForward.

◆ mat2_inst_va()

virtual GameApi::ML GLTF_Material_env::mat2_inst_va ( GameApi::VA va,
GameApi::PTS pts ) const
inlinevirtual

Implements MaterialForward.

◆ mat2_inst_va_prepare()

virtual GameApi::VA GLTF_Material_env::mat2_inst_va_prepare ( GameApi::P p) const
inlinevirtual

Implements MaterialForward.

◆ mat_inst_fade()

virtual GameApi::ML GLTF_Material_env::mat_inst_fade ( GameApi::P p,
GameApi::PTS pts,
bool flip,
float start_time,
float end_time ) const
inlinevirtual

Implements MaterialForward.

◆ num_indexes()

int GLTF_Material_env::num_indexes ( ) const
inline
Here is the caller graph for this function:

◆ num_textures()

int GLTF_Material_env::num_textures ( ) const
inline

◆ texture()

GameApi::BM GLTF_Material_env::texture ( int i) const
inline
Here is the caller graph for this function:

◆ type()

int GLTF_Material_env::type ( int i) const
inline
Here is the caller graph for this function:

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