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

Public Member Functions

 GLTF_Material_manual (GameApi::Env &e, GameApi::EveryApi &ev, float mix, float self_mult, float rest_mult, GameApi::BM baseColor, GameApi::BM metalrough, GameApi::BM normaltexture, GameApi::BM occlusion, GameApi::BM emissive, bool baseColor_b, bool metalrough_b, bool normaltexture_b, bool occlusion_b, bool emissive_b, float roughnessfactor, float metallicfactor, float baseColor_red, float baseColor_green, float baseColor_blue, float baseColor_alpha, float occulsionStrength, Vector light_dir)
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
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_manual()

GLTF_Material_manual::GLTF_Material_manual ( GameApi::Env & e,
GameApi::EveryApi & ev,
float mix,
float self_mult,
float rest_mult,
GameApi::BM baseColor,
GameApi::BM metalrough,
GameApi::BM normaltexture,
GameApi::BM occlusion,
GameApi::BM emissive,
bool baseColor_b,
bool metalrough_b,
bool normaltexture_b,
bool occlusion_b,
bool emissive_b,
float roughnessfactor,
float metallicfactor,
float baseColor_red,
float baseColor_green,
float baseColor_blue,
float baseColor_alpha,
float occulsionStrength,
Vector light_dir )
inline

Member Function Documentation

◆ has_texture()

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

◆ map_index()

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

◆ mat2()

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

Implements MaterialForward.

◆ mat2_inst()

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

Implements MaterialForward.

◆ mat2_inst2()

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

Implements MaterialForward.

◆ mat2_inst_matrix()

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

Implements MaterialForward.

◆ mat2_inst_va()

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

Implements MaterialForward.

◆ mat2_inst_va_prepare()

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

Implements MaterialForward.

◆ mat_inst_fade()

virtual GameApi::ML GLTF_Material_manual::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_manual::num_indexes ( ) const
inline
Here is the caller graph for this function:

◆ num_textures()

int GLTF_Material_manual::num_textures ( ) const
inline

◆ texture()

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

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