#include <LightMapMgr.h>
Inherits sead::CalculateTask.
Classes | |
| class | CalcObj |
Public Member Functions | |
| LightMapMgr (const sead::TaskConstructArg &arg) | |
| virtual | ~LightMapMgr () |
| agl::lght::LightMapMgr & | getLightMapMgr () |
| const agl::lght::LightMapMgr & | getLightMapMgr () const |
| bool | overrideModelLightMap () const |
| void | setOverrideModelLightMap (bool enable) |
| void | prepare () override |
| void | enter () override |
| void | calc () override |
| void | loadAglEnvBinary (void *data, s32=-1) |
| void | loadAglEnvBinary (const sead::SafeString &name, s32=-1, sead::Heap *heap=nullptr) |
| void | loadAglEnvBinary (const sead::SafeString &name, sead::Heap *heap=nullptr) |
| void | initializeViewDependent (const sead::Camera *camera, const sead::Projection *projection, const sead::Camera *camera_drc=nullptr, const sead::Projection *projection_drc=nullptr) |
| void | initializeViewIndependent () |
| void | loadAglLmapBinary (void *data) |
| void | loadAglLmapBinary (const sead::SafeString &name, sead::Heap *heap=nullptr) |
| void | initialize (sead::Heap *heap=nullptr) |
| void | setModelLightMap (ModelG3d *model, bool set_mdl_dl_dirty) const |
| void | loadAglEnvBinaryWithType (const sead::SafeString &name, const sead::SafeString &type, sead::Heap *heap=nullptr) |
| void | initializeForCourseSelect (sead::Heap *heap=nullptr) |
| void | loadAglEnvBinaryWithLerpForCourseSelect (f32 t) |
| const agl::TextureSampler & | getLightmap1 (EnvTypeCourse type) const |
| const agl::TextureSampler & | getLightmap2 (EnvTypeCourse type) const |
| void | getAmbColor (sead::Color4f *color, AmbColorType type) const |
| void | setCobModelLightMapForCourseSelect (ModelG3d *model, u8 world, u8 world_sub_letter) const |
| void | setModelLightMapForCourseSelect (ModelG3d *model) const |
| const sead::SafeString & | getEnvTypeCourseStr (EnvTypeCourse type) const |
| Public Member Functions inherited from sead::CalculateTask | |
| CalculateTask (const TaskConstructArg &arg) | |
| CalculateTask (const TaskConstructArg &arg, const char *name) | |
| void | pauseCalc (bool b) override |
| void | pauseDraw (bool b) override |
| void | pauseCalcRec (bool b) override |
| void | pauseDrawRec (bool b) override |
| void | pauseCalcChild (bool b) override |
| void | pauseDrawChild (bool b) override |
| virtual | ~CalculateTask () |
| void | attachCalcImpl () override |
| void | attachDrawImpl () override |
| void | detachCalcImpl () override |
| void | detachDrawImpl () override |
| const RuntimeTypeInfo::Interface * | getCorrespondingMethodTreeMgrTypeInfo () const override |
| MethodTreeNode * | getMethodTreeNode (s32 method_type) override |
| Public Member Functions inherited from sead::TaskBase | |
| TaskBase (const TaskConstructArg &arg) | |
| TaskBase (const TaskConstructArg &arg, const char *name) | |
| virtual | ~TaskBase () |
| virtual void | enterCommon () |
| virtual void | exit () |
| virtual void | onEvent (const TaskEvent &) |
| virtual void | onDestroy () |
| void | doneDestroy () |
| void | detachCalc () |
| void | detachDraw () |
| void | detachCalcDraw () |
| Framework * | getFramework () const |
| MethodTreeMgr * | getMethodTreeMgr () const |
| T * | getParameter () const |
| void | adjustHeapAll () |
| TaskBase * | getParentTask () const |
| Heap * | getHeap () |
| TaskMgr * | getTaskMgr () const |
| Tag | getTag () const |
| Public Member Functions inherited from sead::TTreeNode< TaskBase * > | |
| TTreeNode () | |
| TTreeNode< T > * | parent () const |
| TTreeNode< T > * | child () const |
| TTreeNode< T > * | next () const |
| TTreeNode< T > * | prev () const |
| TTreeNode< T > * | findRoot () |
| void | pushBackSibling (TTreeNode< T > *o) |
| void | pushBackChild (TTreeNode< T > *o) |
| void | pushFrontChild (TTreeNode< T > *o) |
| void | insertBeforeSelf (TTreeNode< T > *o) |
| void | insertAfterSelf (TTreeNode< T > *o) |
| T & | val () |
| nextIterator | nextBegin () const |
| nextConstIterator | nextConstBegin () const |
| nextIterator | nextEnd () const |
| nextConstIterator | nextConstEnd () const |
| nextIterator | childBegin () const |
| nextConstIterator | childConstBegin () const |
| nextIterator | childEnd () const |
| nextConstIterator | childConstEnd () const |
| depthFirstIterator | depthFirstBegin () const |
| depthFirstConstIterator | depthFirstConstBegin () const |
| depthFirstIterator | depthFirstWithoutRootBegin () const |
| depthFirstConstIterator | depthFirstWithoutRootConstBegin () const |
| depthFirstIterator | depthFirstEnd () const |
| depthFirstConstIterator | depthFirstConstEnd () const |
| Public Member Functions inherited from sead::TreeNode | |
| TreeNode () | |
| void | clearLinks () |
| void | detachAll () |
| void | detachSubTree () |
| void | pushBackSibling (TreeNode *n) |
| void | pushBackChild (TreeNode *n) |
| void | pushFrontChild (TreeNode *n) |
| void | insertBeforeSelf (TreeNode *n) |
| void | insertAfterSelf (TreeNode *n) |
| bool | isRoot () const |
| bool | isLeaf () const |
| const TreeNode * | findRoot () const |
| TreeNode * | findRoot () |
| s32 | countChildren () const |
| Public Member Functions inherited from sead::IDisposer | |
| IDisposer () | |
| virtual | ~IDisposer () |
| Public Member Functions inherited from sead::INamable | |
| INamable () | |
| INamable (const SafeString &name) | |
| void | setName (const SafeString &name) |
| const SafeString & | getName () const |
Static Public Attributes | |
| static const s32 | cLightMapNum = 2 |
| static const s32 | cLightMapNumAll = (cEnvTypeCourse_Num + cEnvTypeCourseSelect_Num) * cLightMapNum |
| static const s32 | cLightMapHemisphereLightNum = 2 |
| static const s32 | cHemisphereLightNum = cLightMapHemisphereLightNum |
| static const s32 | cLightMapDirectionalLightNumMain = 2 |
| static const s32 | cLightMapDirectionalLightNumCourse = 4 |
| static const s32 | cLightMapDirectionalLightNumCourseSelect = 2 |
| static const s32 | cLightMapDirectionalLightNum = 4 |
| static const s32 | cDirectionalLightNumMain = cLightMapDirectionalLightNumMain |
| static const s32 | cDirectionalLightNumCourse = cEnvTypeCourse_Num * cLightMapDirectionalLightNumCourse |
| static const s32 | cDirectionalLightNumCourseSelect = cEnvTypeCourseSelect_Num * cLightMapDirectionalLightNumCourseSelect |
| static const s32 | cDirectionalLightNumAll = cDirectionalLightNumMain + cDirectionalLightNumCourse + cDirectionalLightNumCourseSelect |
Private Types | |
| enum | View { cView_Main = 0 , cView_MainDRC , cView_Reflection , cView_ReflectionDRC , cView_Num } |
Private Member Functions | |
| void | initializeViewDependent_ () |
| void | setModelLightMapWithName_ (ModelG3d *model, const sead::SafeString &name, s32 idx_lghtmap, s32 model_light_map_index) const |
| void | draw_ (const agl::lyr::RenderInfo &render_info, View view, bool view_dependent, const sead::Matrix34f *view_mtx, const sead::Projection *projection) |
| void | drawMain_ (const agl::lyr::RenderInfo &render_info) |
| void | drawMainDRC_ (const agl::lyr::RenderInfo &render_info) |
| void | drawReflection_ (const agl::lyr::RenderInfo &render_info) |
| void | drawReflectionDRC_ (const agl::lyr::RenderInfo &render_info) |
Private Attributes | |
| u32 | _cc [4/sizeof(u32)] |
| nw::g3d::res::ResTexture * | mResTexture [cLightMapNumAll] |
| nw::g3d::res::ResTextureData | mResTextureData [cLightMapNumAll] |
| agl::lyr::DrawMethod | mDrawMethodMain |
| agl::lyr::DrawMethod | mDrawMethodMainDRC |
| agl::lyr::DrawMethod | mDrawMethodReflection |
| agl::lyr::DrawMethod | mDrawMethodReflectionDRC |
| agl::lght::LightMapMgr | mLightMapMgr |
| CalcObj | mCalcObj |
| agl::env::EnvObjMgr | mEnvObjMgr |
| bool | mIsViewDependent |
| const sead::Camera * | mCamera |
| const sead::Projection * | mProjection |
| const sead::Camera * | mCameraDRC |
| const sead::Projection * | mProjectionDRC |
| sead::SafeArray< sead::SafeArray< s32, cEnvTypeCourse_Num >, cLightMapNum > | mLightMapIndexCourse |
| sead::SafeArray< s32, cAmbColorType_Num > | mAmbientLightTypeIndex |
| const void * | mAglEnvBinary1 |
| const void * | mAglEnvBinary2 |
| bool | mOverrideModelLightMap |
Additional Inherited Members | |
| Public Attributes inherited from sead::CalculateTask | |
| MethodTreeNode | mCalcNode |
| Public Attributes inherited from sead::TaskBase | |
| cCreated | |
| cPrepare | |
| cPrepareDone | |
| cSleep | |
| cRunning | |
| cDying | |
| cDestroyable | |
| cDead | |
| cSystem | |
| cApp | |
| Protected Member Functions inherited from sead::TreeNode | |
| void | clearChildLinksRecursively_ () |
| Protected Attributes inherited from sead::TaskBase | |
| TaskParameter * | mParameter |
| BitFlag32 | mInternalFlag |
| ListNode | mTaskListNode |
| HeapArray | mHeapArray |
| TaskMgr * | mTaskMgr |
| State | mState |
| Tag | mTag |
| TaskClassID | mClassID |
| Protected Attributes inherited from sead::TTreeNode< TaskBase * > | |
| T | mData |
| Protected Attributes inherited from sead::TreeNode | |
| TreeNode * | mParent |
| TreeNode * | mChild |
| TreeNode * | mNext |
| TreeNode * | mPrev |
|
private |
| LightMapMgr::LightMapMgr | ( | const sead::TaskConstructArg & | arg | ) |
|
virtual |
|
inline |
|
inline |
|
inline |
|
inline |
|
overridevirtual |
Reimplemented from sead::TaskBase.
|
overridevirtual |
Reimplemented from sead::TaskBase.
|
overridevirtual |
Reimplemented from sead::CalculateTask.
| void LightMapMgr::loadAglEnvBinary | ( | void * | data, |
| s32 | = -1 ) |
| void LightMapMgr::loadAglEnvBinary | ( | const sead::SafeString & | name, |
| s32 | = -1, | ||
| sead::Heap * | heap = nullptr ) |
| void LightMapMgr::loadAglEnvBinary | ( | const sead::SafeString & | name, |
| sead::Heap * | heap = nullptr ) |
| void LightMapMgr::initializeViewDependent | ( | const sead::Camera * | camera, |
| const sead::Projection * | projection, | ||
| const sead::Camera * | camera_drc = nullptr, | ||
| const sead::Projection * | projection_drc = nullptr ) |
| void LightMapMgr::initializeViewIndependent | ( | ) |
| void LightMapMgr::loadAglLmapBinary | ( | void * | data | ) |
| void LightMapMgr::loadAglLmapBinary | ( | const sead::SafeString & | name, |
| sead::Heap * | heap = nullptr ) |
| void LightMapMgr::initialize | ( | sead::Heap * | heap = nullptr | ) |
| void LightMapMgr::setModelLightMap | ( | ModelG3d * | model, |
| bool | set_mdl_dl_dirty ) const |
| void LightMapMgr::loadAglEnvBinaryWithType | ( | const sead::SafeString & | name, |
| const sead::SafeString & | type, | ||
| sead::Heap * | heap = nullptr ) |
| void LightMapMgr::initializeForCourseSelect | ( | sead::Heap * | heap = nullptr | ) |
| void LightMapMgr::loadAglEnvBinaryWithLerpForCourseSelect | ( | f32 | t | ) |
| const agl::TextureSampler & LightMapMgr::getLightmap1 | ( | EnvTypeCourse | type | ) | const |
| const agl::TextureSampler & LightMapMgr::getLightmap2 | ( | EnvTypeCourse | type | ) | const |
| void LightMapMgr::getAmbColor | ( | sead::Color4f * | color, |
| AmbColorType | type ) const |
| void LightMapMgr::setCobModelLightMapForCourseSelect | ( | ModelG3d * | model, |
| u8 | world, | ||
| u8 | world_sub_letter ) const |
| void LightMapMgr::setModelLightMapForCourseSelect | ( | ModelG3d * | model | ) | const |
| const sead::SafeString & LightMapMgr::getEnvTypeCourseStr | ( | EnvTypeCourse | type | ) | const |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |