33#ifndef DVD_POST_EFFECTS_H_
34#define DVD_POST_EFFECTS_H_
113 const U32 filterMask = 1u <<
to_U32(filter);
PlatformContext & context() noexcept
void setFadeOutIn(const UColour3 &targetColour, D64 durationFadeOutMS, D64 waitDurationMS)
void popFilter(const FilterType filter, const bool overrideScene=false)
F32 _randomNoiseCoefficient
GFX::SetCameraCommand _setCameraCmd
void update(U64 deltaTimeUSFixed, U64 deltaTimeUSApp)
bool getFilterState(const FilterType filter) const noexcept
vec2< U16 > _resolutionCache
void idle(const Configuration &config, U64 deltaTimeUSGame)
void setFadeOut(const UColour3 &targetColour, D64 durationMS, D64 waitDurationMS, DELEGATE< void > onComplete=DELEGATE< void >())
DELEGATE< void > _fadeOutComplete
void prePass(PlayerIndex idx, const CameraSnapshot &cameraSnapshot, GFX::CommandBuffer &bufferInOut)
PreRenderBatch & getFilterBatch() noexcept
void setFadeIn(D64 durationMS, DELEGATE< void > onComplete=DELEGATE< void >())
PreRenderBatch _preRenderBatch
Handle< Texture > _screenBorder
PROPERTY_RW(bool, isDayTime, true)
void apply(PlayerIndex idx, const CameraSnapshot &cameraSnapshot, GFX::CommandBuffer &bufferInOut)
F32 _randomFlashCoefficient
Handle< Texture > _underwaterTexture
Handle< ShaderProgram > _postProcessingShader
RTDrawDescriptor _postFXTarget
void pushFilter(const FilterType filter, const bool overrideScene=false)
static const char * FilterName(FilterType filter) noexcept
DELEGATE< void > _fadeInComplete
void updateResolution(U16 newWidth, U16 newHeight)
void onFilterToggle(FilterType filter, bool state)
Handle console commands that start with a forward slash.
DELEGATE_STD< Ret, Args... > DELEGATE
constexpr U32 to_U32(const T value)