Inexor
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | List of all members
animmodel::skin Struct Reference

#include <animmodel.hpp>

Inheritance diagram for animmodel::skin:
animmodel::shaderparams

Public Member Functions

 skin ()
 
bool masked () const
 
bool envmapped ()
 
bool bumpmapped ()
 
bool tangents ()
 
bool alphatested () const
 
void setkey ()
 
void setshaderparams (mesh *m, const animstate *as)
 
Shaderloadshader ()
 
void cleanup ()
 
void preloadBIH ()
 
void preloadshader (bool force)
 
void setshader (mesh *m, const animstate *as)
 
void bind (mesh *b, const animstate *as)
 

Public Attributes

partowner
 
Texturetex
 
Texturemasks
 
Textureenvmap
 
Texturenormalmap
 
Shadershader
 
bool alphablend
 
bool cullface
 
shaderparamskeykey
 
float spec
 
float ambient
 
float glow
 
float glowdelta
 
float glowpulse
 
float specglare
 
float glowglare
 
float fullbright
 
float envmapmin
 
float envmapmax
 
float scrollu
 
float scrollv
 
float alphatest
 

Constructor & Destructor Documentation

animmodel::skin::skin ( )
inline

Member Function Documentation

bool animmodel::skin::alphatested ( ) const
inline
void animmodel::skin::bind ( mesh b,
const animstate as 
)
inline
bool animmodel::skin::bumpmapped ( )
inline

References normalmap.

Referenced by bind(), loadshader(), and tangents().

void animmodel::skin::cleanup ( )
inline

References shader, and Shader::standard.

Referenced by preloadshader().

bool animmodel::skin::envmapped ( )
inline
Shader* animmodel::skin::loadshader ( )
inline
bool animmodel::skin::masked ( ) const
inline

References masks, and notexture.

Referenced by bind(), and loadshader().

void animmodel::skin::preloadBIH ( )
inline

References loadalphamask(), and tex.

void animmodel::skin::preloadshader ( bool  force)
inline

References cleanup(), and loadshader().

void animmodel::skin::setkey ( )
inline
void animmodel::skin::setshader ( mesh m,
const animstate as 
)
inline

References loadshader(), and animmodel::mesh::setshader().

Referenced by bind().

void animmodel::skin::setshaderparams ( mesh m,
const animstate as 
)
inline
bool animmodel::skin::tangents ( )
inline

References bumpmapped().

Member Data Documentation

bool animmodel::skin::alphablend

Referenced by bind().

float animmodel::shaderparams::alphatest
inherited

Referenced by alphatested(), and setshaderparams().

float animmodel::shaderparams::ambient
inherited

Referenced by setshaderparams().

bool animmodel::skin::cullface

Referenced by bind(), and animmodel::mesh::genBIH().

Texture * animmodel::skin::envmap

Referenced by animmodel::setenvmap().

float animmodel::shaderparams::envmapmax
inherited
float animmodel::shaderparams::envmapmin
inherited
float animmodel::shaderparams::fullbright
inherited

Referenced by loadshader(), and setshaderparams().

float animmodel::shaderparams::glow
inherited
float animmodel::shaderparams::glowdelta
inherited
float animmodel::shaderparams::glowglare
inherited
float animmodel::shaderparams::glowpulse
inherited
shaderparamskey* animmodel::skin::key

Referenced by setkey(), and setshaderparams().

Texture * animmodel::skin::masks
Texture * animmodel::skin::normalmap

Referenced by bind(), and bumpmapped().

part* animmodel::skin::owner
float animmodel::shaderparams::scrollu
inherited

Referenced by setshaderparams().

float animmodel::shaderparams::scrollv
inherited

Referenced by setshaderparams().

Shader* animmodel::skin::shader

Referenced by cleanup(), and loadshader().

float animmodel::shaderparams::spec
inherited

Referenced by loadshader(), and setshaderparams().

float animmodel::shaderparams::specglare
inherited
Texture* animmodel::skin::tex

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