| 1 | #pragma once |
|---|---|
| 2 | |
| 3 | #include <math/seadBoundBox.h> |
| 4 | #include <math/seadMatrix.h> |
| 5 | #include <math/seadVector.h> |
| 6 | |
| 7 | namespace al { |
| 8 | class IUseCamera; |
| 9 | class ByamlIter; |
| 10 | class GraphicsQualityInfo; |
| 11 | |
| 12 | class ModelLodCtrl { |
| 13 | public: |
| 14 | ModelLodCtrl(IUseCamera*, const sead::Vector3f*, const sead::Matrix34f*, const sead::Vector3f*, |
| 15 | const sead::BoundBox3f&, s32); |
| 16 | void init(const ByamlIter&); |
| 17 | bool isValidate() const; |
| 18 | bool isEnableMaterialLod() const; |
| 19 | s32 getModelLevel() const; |
| 20 | s32 getModelLevelNoClamp() const; |
| 21 | s32 getShadowLevel() const; |
| 22 | s32 getMaterialLevel() const; |
| 23 | void setDistanceScale(f32); |
| 24 | void update(); |
| 25 | |
| 26 | private: |
| 27 | void* padding[0x68 / 8]; |
| 28 | }; |
| 29 | |
| 30 | static_assert(sizeof(ModelLodCtrl) == 0x68); |
| 31 | |
| 32 | class ModelLodAllCtrl { |
| 33 | public: |
| 34 | ModelLodAllCtrl(const GraphicsQualityInfo*); |
| 35 | void registerLodCtrl(ModelLodCtrl*); |
| 36 | void endInit(); |
| 37 | void updateLodAll(); |
| 38 | void update(); |
| 39 | }; |
| 40 | |
| 41 | } // namespace al |
| 42 |