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

Public Member Functions

 GLTF_Material (GameApi::Env &e, GameApi::EveryApi &ev, GLTFModelInterface *interface, GltfMaterialParams *param)
bool IsTransparent () const
int num_indexes () const
int map_index (int j) const
void print_extension_map () const
bool get_unlit () const
bool get_sheen () const
Vector get_diffuse_factor () const
Vector get_specular_factor () const
float get_glossiness_factor () const
bool get_spec () const
int print_int (std::string label, int i) const
float print_float (std::string label, float i) const
Vector print_vector (std::string label, Vector i) const
int get_sheen_index () const
int get_diffuse_index () const
int get_specglossi_index () const
void specglossyprepare (GameApi::EveryApi &ev, GameApi::P p) const
int num_textures () const
bool is_srgb (int i) const
GameApi::BM reduce_size (GameApi::BM bm) const
GameApi::BM texture (int i) const
bool has_texture (int i) const
std::string get_cache_id_string () 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()

GLTF_Material::GLTF_Material ( GameApi::Env & e,
GameApi::EveryApi & ev,
GLTFModelInterface * interface,
GltfMaterialParams * param )
inline

Member Function Documentation

◆ get_cache_id_string()

std::string GLTF_Material::get_cache_id_string ( ) const
inline
Here is the caller graph for this function:

◆ get_diffuse_factor()

Vector GLTF_Material::get_diffuse_factor ( ) const
inline
Here is the caller graph for this function:

◆ get_diffuse_index()

int GLTF_Material::get_diffuse_index ( ) const
inline
Here is the caller graph for this function:

◆ get_glossiness_factor()

float GLTF_Material::get_glossiness_factor ( ) const
inline
Here is the caller graph for this function:

◆ get_sheen()

bool GLTF_Material::get_sheen ( ) const
inline
Here is the caller graph for this function:

◆ get_sheen_index()

int GLTF_Material::get_sheen_index ( ) const
inline
Here is the caller graph for this function:

◆ get_spec()

bool GLTF_Material::get_spec ( ) const
inline
Here is the caller graph for this function:

◆ get_specglossi_index()

int GLTF_Material::get_specglossi_index ( ) const
inline
Here is the caller graph for this function:

◆ get_specular_factor()

Vector GLTF_Material::get_specular_factor ( ) const
inline
Here is the caller graph for this function:

◆ get_unlit()

bool GLTF_Material::get_unlit ( ) const
inline
Here is the caller graph for this function:

◆ has_texture()

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

◆ is_srgb()

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

◆ IsTransparent()

bool GLTF_Material::IsTransparent ( ) const
inline
Here is the caller graph for this function:

◆ map_index()

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

◆ mat2()

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

Implements MaterialForward.

◆ mat2_inst()

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

Implements MaterialForward.

◆ mat2_inst2()

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

Implements MaterialForward.

◆ mat2_inst_matrix()

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

Implements MaterialForward.

◆ mat2_inst_va()

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

Implements MaterialForward.

◆ mat2_inst_va_prepare()

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

Implements MaterialForward.

◆ mat_inst_fade()

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

◆ num_textures()

int GLTF_Material::num_textures ( ) const
inline
Here is the caller graph for this function:

◆ print_extension_map()

void GLTF_Material::print_extension_map ( ) const
inline
Here is the caller graph for this function:

◆ print_float()

float GLTF_Material::print_float ( std::string label,
float i ) const
inline
Here is the caller graph for this function:

◆ print_int()

int GLTF_Material::print_int ( std::string label,
int i ) const
inline
Here is the caller graph for this function:

◆ print_vector()

Vector GLTF_Material::print_vector ( std::string label,
Vector i ) const
inline
Here is the caller graph for this function:

◆ reduce_size()

GameApi::BM GLTF_Material::reduce_size ( GameApi::BM bm) const
inline
Here is the caller graph for this function:

◆ specglossyprepare()

void GLTF_Material::specglossyprepare ( GameApi::EveryApi & ev,
GameApi::P p ) const
inline

◆ texture()

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

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