| 1 | #pragma once |
| 2 | |
| 3 | #include <basis/seadTypes.h> |
| 4 | |
| 5 | namespace sead { |
| 6 | class Camera; |
| 7 | } |
| 8 | |
| 9 | namespace agl { |
| 10 | class DrawContext; |
| 11 | class RenderTargetDepth; |
| 12 | class TextureData; |
| 13 | } // namespace agl |
| 14 | |
| 15 | namespace al { |
| 16 | class GraphicsSystemInfo; |
| 17 | class AreaObjDirector; |
| 18 | class ExecuteDirector; |
| 19 | class EffectSystem; |
| 20 | class SceneCameraInfo; |
| 21 | class PlayerHolder; |
| 22 | class Projection; |
| 23 | class ShaderHolder; |
| 24 | class DepthShadowParam; |
| 25 | class DepthShadowClipParam; |
| 26 | |
| 27 | class ShadowDirector { |
| 28 | public: |
| 29 | ShadowDirector(s32, GraphicsSystemInfo*, AreaObjDirector*, ExecuteDirector*, EffectSystem*, |
| 30 | SceneCameraInfo*, const PlayerHolder*); |
| 31 | ~ShadowDirector(); |
| 32 | |
| 33 | void initShader(ShaderHolder*); |
| 34 | void endInit(); |
| 35 | void initAfterPlacement(); |
| 36 | void clearRequest(); |
| 37 | void update(); |
| 38 | void* getCurrentShadowParam(); // unknown return type |
| 39 | void* getCurrentClipParam(); // unknown return type |
| 40 | bool isUsingShadowCamera() const; |
| 41 | void preDrawGraphics(); |
| 42 | void isEnableShadowPrePass() const; |
| 43 | void updateViewGpu(s32, const sead::Camera*, const Projection*); |
| 44 | void* getDepthShadow(); // unknown return type |
| 45 | void drawShadowPrePass(agl::DrawContext*, s32, const agl::RenderTargetDepth*, |
| 46 | const agl::RenderTargetDepth*, const agl::TextureData*); |
| 47 | void* getShadowPrePassSampler(s32) const; // unknown return type |
| 48 | void* getShadowPrePassTexture(s32) const; // unknown return type |
| 49 | bool isEnableDepthShadow() const; |
| 50 | void* getCurrentShadowParam() const; // unknown return type |
| 51 | void* getCurrentClipParam() const; // unknown return type |
| 52 | void* getCurrentNear() const; // unknown return type |
| 53 | void* getCurrentFar() const; // unknown return type |
| 54 | bool requestParam(s32, s32, const DepthShadowParam&); |
| 55 | bool requestParam(s32, s32, const DepthShadowClipParam&); |
| 56 | }; |
| 57 | |
| 58 | } // namespace al |
| 59 | |