33#ifndef DVD_SSR_PRE_RENDER_OPERATOR_H_
34#define DVD_SSR_PRE_RENDER_OPERATOR_H_
52 [[nodiscard]]
bool ready()
const noexcept override;
Rough around the edges Adapter pattern abstracting the actual rendering API and access to the GPU.
virtual void onToggle(bool state)
vec2< F32 > _cachedZPlanes
GFX::BindPipelineCommand _pipelineCmd
Handle< ShaderProgram > _ssrShader
mat4< F32 > _projToPixelBasis
void prepare(PlayerIndex idx, GFX::CommandBuffer &bufferInOut) override
bool ready() const noexcept override
bool execute(PlayerIndex idx, const CameraSnapshot &cameraSnapshot, const RenderTargetHandle &input, const RenderTargetHandle &output, GFX::CommandBuffer &bufferInOut) override
Return true if we rendered into "output".
void onToggle(const bool state) override
void reshape(U16 width, U16 height) override
Handle console commands that start with a forward slash.
static const vec2< F32 > VECTOR2_UNIT