mirror of
https://github.com/zeldaret/ss
synced 2026-06-22 16:42:53 -04:00
37 lines
1021 B
C++
37 lines
1021 B
C++
#ifndef EGG_POST_EFFECT_BASE_H
|
|
#define EGG_POST_EFFECT_BASE_H
|
|
|
|
#include "common.h"
|
|
#include "egg/egg_types.h"
|
|
#include "egg/gfx/eggCapTexture.h"
|
|
#include "rvl/GX/GXTypes.h"
|
|
|
|
namespace EGG {
|
|
|
|
class PostEffectBase {
|
|
protected:
|
|
u32 field_0x00; // at 0x0
|
|
CapTexture *mpCapTexture; // at 0x4
|
|
GXTexMapID mTexMapId; // at 0x8
|
|
CapTexture *mpCapTexture2; // at 0xC
|
|
GXTexMapID mTexMapId2; // at 0x10
|
|
f32 mOffsetX; // at 0x14
|
|
f32 mOffsetY; // at 0x18
|
|
f32 mScaleX; // at 0x1C
|
|
f32 mScaleY; // at 0x20
|
|
f32 field_0x24; // at 0x24
|
|
|
|
PostEffectBase();
|
|
virtual ~PostEffectBase() {} // at 0x8
|
|
|
|
protected:
|
|
virtual void draw(f32, f32); // at 0xC
|
|
virtual void setMaterialInternal(); // at 0x10
|
|
virtual void loadTextureInternal(); // at 0x14
|
|
virtual void drawScreenInternal(f32, f32, f32, f32); // at 0x18
|
|
};
|
|
|
|
} // namespace EGG
|
|
|
|
#endif
|