#include <aglLightMapMgr.h>
Inherits agl::utl::IParameterIO, and sead::hostio::Node.
|
| | LightMapMgr () |
| virtual | ~LightMapMgr () |
| void | initialize (const env::EnvObjBuffer::AllocateArg &alloc_arg, const CreateArg &create_arg, env::EnvObjMgr *p_env_mgr, sead::Heap *heap=nullptr) |
| void | update () |
| void | updateGPU (bool invalidate_gpu=false) const |
| void | updateViewGPU (s32 view_index, bool ignore_mapping_type, const sead::Matrix34f &view_mtx, bool invalidate_gpu=false) const |
| ShaderMode | draw (s32 view_index, bool ignore_mapping_type, ShaderMode mode) const |
| LightMap * | getLightMap (s32 index) |
| const LightMap * | getLightMap (s32 index) const |
| s32 | searchIndex (const sead::SafeString &name) const |
| | IParameterIO () |
| | IParameterIO (const sead::SafeString &type, u32 version=0) |
| virtual | ~IParameterIO () |
| virtual bool | save (const sead::SafeString &, u32) const |
| virtual void | applyResParameterArchive (ResParameterArchive arc) |
| virtual void | applyResParameterArchiveLerp (ResParameterArchive arc_a, ResParameterArchive arc_b, f32 t) |
| void | setDelegate (void *delegate) |
| | IParameterList () |
| void | addList (IParameterList *child, const sead::SafeString &name) |
| void | addObj (IParameterObj *child, const sead::SafeString &name) |
| void | applyResParameterList (ResParameterList list) |
| bool | isApply (ResParameterList list) const |
◆ GraphicsContext
◆ LUTType
| Enumerator |
|---|
| cLUT_Lambert | |
| cLUT_Half_Lambert | |
| cLUT_Hemisphere | |
| cLUT_UserData_0 | |
| cLUT_UserData_Num | |
| cLUT_Num | |
◆ LightMapMgr()
| agl::lght::LightMapMgr::LightMapMgr |
( |
| ) |
|
◆ ~LightMapMgr()
| agl::lght::LightMapMgr::~LightMapMgr |
( |
| ) |
|
|
virtual |
◆ initialize()
◆ update()
| void agl::lght::LightMapMgr::update |
( |
| ) |
|
◆ updateGPU()
| void agl::lght::LightMapMgr::updateGPU |
( |
bool | invalidate_gpu = false | ) |
const |
◆ updateViewGPU()
| void agl::lght::LightMapMgr::updateViewGPU |
( |
s32 | view_index, |
|
|
bool | ignore_mapping_type, |
|
|
const sead::Matrix34f & | view_mtx, |
|
|
bool | invalidate_gpu = false ) const |
◆ draw()
| ShaderMode agl::lght::LightMapMgr::draw |
( |
s32 | view_index, |
|
|
bool | ignore_mapping_type, |
|
|
ShaderMode | mode ) const |
◆ getLightMap() [1/2]
| LightMap * agl::lght::LightMapMgr::getLightMap |
( |
s32 | index | ) |
|
|
inline |
◆ getLightMap() [2/2]
| const LightMap * agl::lght::LightMapMgr::getLightMap |
( |
s32 | index | ) |
const |
|
inline |
◆ searchIndex()
◆ postRead_()
| void agl::lght::LightMapMgr::postRead_ |
( |
| ) |
|
|
protectedvirtual |
◆ updateLUT_()
| void agl::lght::LightMapMgr::updateLUT_ |
( |
| ) |
|
|
private |
◆ createNormalMap_()
| void agl::lght::LightMapMgr::createNormalMap_ |
( |
s32 | size_sphere, |
|
|
s32 | size_cube ) |
|
private |
◆ constructList_()
| void agl::lght::LightMapMgr::constructList_ |
( |
| ) |
|
|
private |
◆ constructMemory_()
| void agl::lght::LightMapMgr::constructMemory_ |
( |
| ) |
|
|
private |
◆ LightMap
◆ cLUTValueNum
| const s32 agl::lght::LightMapMgr::cLUTValueNum = 128 |
|
staticprivate |
◆ mLightMap
◆ mLightMapCalc
◆ mCPUTextureLUT
◆ mCPUTextureSphereNormal
| CPUTexture agl::lght::LightMapMgr::mCPUTextureSphereNormal |
|
private |
◆ mCPUTextureCubeNormal
| CPUTexture agl::lght::LightMapMgr::mCPUTextureCubeNormal |
|
private |
◆ mLUT
◆ mGraphicsContext
◆ mConfig
◆ mType
◆ mLUTParam
◆ _2b84
| f32 agl::lght::LightMapMgr::_2b84 |
|
private |
◆ _2b88
| u32 agl::lght::LightMapMgr::_2b88 |
|
private |
◆ mDebugTexturePage
◆ mpLightMapHeap
| sead::Heap* agl::lght::LightMapMgr::mpLightMapHeap |
|
private |