#include <Mii_Shader.h>
Classes | |
| struct | LightParam |
| struct | Material |
| struct | RimParam |
| struct | SpecularParam |
Public Member Functions | |
| Shader () | |
| ~Shader () | |
| void | initialize (sead::Heap *heap=nullptr) |
| void | setModel (ModelFFL *model) |
| void | setCallback () const |
| void | activate () const |
| void | setViewUniform (const sead::Matrix34f &model_mtx, const sead::Matrix34f &view_mtx, const sead::Matrix44f &proj_mtx) const |
| void | setExRegColorUniform (const sead::Color4f *color) const |
| void | setLightmapEnableUniform (bool enable) const |
| void | setFogUniform (RenderObjRenderMgr *render_mgr) const |
Static Public Member Functions | |
| static void | initializeShader (agl::ShaderProgramArchive *archive, sead::Heap *heap) |
| static void | setCulling (FFLCullMode mode) |
Private Member Functions | |
| void | initializeParam_ () |
| void | setLightUniform_ () const |
| void | setMaterialUniform_ (const FFLDrawParam &draw_param) const |
| void | setRimUniform_ () const |
| void | draw_ (const FFLDrawParam &draw_param) |
| void | setMatrix_ (const Mat44 &matrix) |
Static Private Member Functions | |
| static void | drawCallback_ (void *obj, const FFLDrawParam &draw_param) |
| static void | setMatrixCallback_ (void *obj, const Mat44 &matrix) |
Private Attributes | |
| const agl::ShaderProgramArchive * | mShaderArchive |
| const agl::ShaderProgram * | mShaderProgram |
| sead::Buffer< GX2AttribStream > | mAttribute |
| GX2FetchShader | mFetchShader |
| FFLShaderCallback | mCallback |
| GX2Sampler | mSampler |
| ModelFFL * | mModel |
| agl::TextureSampler | mEnvSampler_Star |
| agl::TextureSampler | mEnvSampler_P |
| LightParam | mLightParam |
| Material | mMaterial [FFL_MODULATE_TYPE_SHAPE_MAX] |
| RimParam | mRimParam |
| SpecularParam | mSpecularParam |
| enum Mii::Shader::Uniform |
| enum Mii::Shader::Sampler |
| Mii::Shader::Shader | ( | ) |
| Mii::Shader::~Shader | ( | ) |
|
static |
| void Mii::Shader::initialize | ( | sead::Heap * | heap = nullptr | ) |
|
inline |
| void Mii::Shader::setCallback | ( | ) | const |
| void Mii::Shader::activate | ( | ) | const |
| void Mii::Shader::setViewUniform | ( | const sead::Matrix34f & | model_mtx, |
| const sead::Matrix34f & | view_mtx, | ||
| const sead::Matrix44f & | proj_mtx ) const |
| void Mii::Shader::setExRegColorUniform | ( | const sead::Color4f * | color | ) | const |
| void Mii::Shader::setLightmapEnableUniform | ( | bool | enable | ) | const |
| void Mii::Shader::setFogUniform | ( | RenderObjRenderMgr * | render_mgr | ) | const |
|
static |
|
private |
|
private |
|
private |
|
private |
|
private |
|
staticprivate |
|
private |
|
staticprivate |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |