fix missing override keyword
This commit is contained in:
parent
2e6d42ad0a
commit
19222c8bcf
|
@ -38,21 +38,21 @@ class UpscaleContext_FSR2_API : public UpscaleContext
|
|||
public:
|
||||
UpscaleContext_FSR2_API(UpscaleType type, std::string name);
|
||||
|
||||
virtual std::string Name() { return "FSR 2.0 API"; }
|
||||
virtual void OnCreate(const FfxUpscaleInitParams& initParams);
|
||||
virtual void OnDestroy();
|
||||
virtual void OnCreateWindowSizeDependentResources(
|
||||
std::string Name() override { return "FSR 2.0 API"; }
|
||||
void OnCreate(const FfxUpscaleInitParams& initParams) override;
|
||||
void OnDestroy() override;
|
||||
void OnCreateWindowSizeDependentResources(
|
||||
ID3D12Resource* input,
|
||||
ID3D12Resource* output,
|
||||
uint32_t renderWidth,
|
||||
uint32_t renderHeight,
|
||||
uint32_t displayWidth,
|
||||
uint32_t displayHeight,
|
||||
bool hdr);
|
||||
virtual void OnDestroyWindowSizeDependentResources();
|
||||
virtual void BuildDevUI(UIState* pState) override;
|
||||
virtual void GenerateReactiveMask(ID3D12GraphicsCommandList* pCommandList, const FfxUpscaleSetup& cameraSetup, UIState* pState);
|
||||
virtual void Draw(ID3D12GraphicsCommandList* pCommandList, const FfxUpscaleSetup& cameraSetup, UIState* pState);
|
||||
bool hdr) override;
|
||||
void OnDestroyWindowSizeDependentResources() override;
|
||||
void BuildDevUI(UIState* pState) override;
|
||||
void GenerateReactiveMask(ID3D12GraphicsCommandList* pCommandList, const FfxUpscaleSetup& cameraSetup, UIState* pState) override;
|
||||
void Draw(ID3D12GraphicsCommandList* pCommandList, const FfxUpscaleSetup& cameraSetup, UIState* pState) override;
|
||||
|
||||
private:
|
||||
void ReloadPipelines();
|
||||
|
|
|
@ -33,14 +33,14 @@ using namespace CAULDRON_DX12;
|
|||
class UpscaleContext_Spatial : public UpscaleContext
|
||||
{
|
||||
public:
|
||||
UpscaleContext_Spatial(UpscaleType type, std::string name);
|
||||
UpscaleContext_Spatial(UpscaleType type, std::string name);
|
||||
|
||||
virtual std::string Name() { return "Spatial Upscale"; }
|
||||
virtual void OnCreate(const FfxUpscaleInitParams& initParams);
|
||||
virtual void OnDestroy();
|
||||
virtual void OnCreateWindowSizeDependentResources(ID3D12Resource* input, ID3D12Resource* output, uint32_t renderWidth, uint32_t renderHeight, uint32_t displayWidth, uint32_t displayHeight, bool hdr);
|
||||
virtual void OnDestroyWindowSizeDependentResources();
|
||||
virtual void Draw(ID3D12GraphicsCommandList* pCommandList, const FfxUpscaleSetup& cameraSetup, UIState* pState);
|
||||
std::string Name() override { return "Spatial Upscale"; }
|
||||
void OnCreate(const FfxUpscaleInitParams& initParams) override;
|
||||
void OnDestroy() override;
|
||||
void OnCreateWindowSizeDependentResources(ID3D12Resource* input, ID3D12Resource* output, uint32_t renderWidth, uint32_t renderHeight, uint32_t displayWidth, uint32_t displayHeight, bool hdr) override;
|
||||
void OnDestroyWindowSizeDependentResources() override;
|
||||
void Draw(ID3D12GraphicsCommandList* pCommandList, const FfxUpscaleSetup& cameraSetup, UIState* pState) override;
|
||||
|
||||
protected:
|
||||
typedef struct _FfxTaaCB_
|
||||
|
|
|
@ -38,14 +38,14 @@ class UpscaleContext_FSR2_API : public UpscaleContext
|
|||
public:
|
||||
UpscaleContext_FSR2_API(UpscaleType type, std::string name);
|
||||
|
||||
virtual std::string Name() { return "FSR 2.0 API"; }
|
||||
virtual void OnCreate(const FfxUpscaleInitParams& initParams);
|
||||
virtual void OnDestroy();
|
||||
virtual void OnCreateWindowSizeDependentResources(VkImageView input, VkImageView output, uint32_t renderWidth, uint32_t renderHeight, uint32_t displayWidth, uint32_t displayHeight, bool hdr);
|
||||
virtual void OnDestroyWindowSizeDependentResources();
|
||||
virtual void BuildDevUI(UIState* pState) override;
|
||||
virtual void GenerateReactiveMask(VkCommandBuffer pCommandList, const FfxUpscaleSetup& cameraSetup, UIState* pState);
|
||||
virtual void Draw(VkCommandBuffer commandBuffer, const FfxUpscaleSetup& cameraSetup, UIState* pState);
|
||||
std::string Name() override { return "FSR 2.0 API"; }
|
||||
void OnCreate(const FfxUpscaleInitParams& initParams) override;
|
||||
void OnDestroy() override;
|
||||
void OnCreateWindowSizeDependentResources(VkImageView input, VkImageView output, uint32_t renderWidth, uint32_t renderHeight, uint32_t displayWidth, uint32_t displayHeight, bool hdr) override;
|
||||
void OnDestroyWindowSizeDependentResources() override;
|
||||
void BuildDevUI(UIState* pState) override;
|
||||
void GenerateReactiveMask(VkCommandBuffer pCommandList, const FfxUpscaleSetup& cameraSetup, UIState* pState) override;
|
||||
void Draw(VkCommandBuffer commandBuffer, const FfxUpscaleSetup& cameraSetup, UIState* pState) override;
|
||||
|
||||
private:
|
||||
FfxFsr2ContextDescription initializationParameters = {};
|
||||
|
|
|
@ -35,12 +35,12 @@ class UpscaleContext_Spatial : public UpscaleContext
|
|||
public:
|
||||
UpscaleContext_Spatial(UpscaleType type, std::string name);
|
||||
|
||||
virtual std::string Name() { return "Spatial Upscale"; }
|
||||
virtual void OnCreate(const FfxUpscaleInitParams& initParams);
|
||||
virtual void OnDestroy();
|
||||
virtual void OnCreateWindowSizeDependentResources(VkImageView input, VkImageView output, uint32_t renderWidth, uint32_t renderHeight, uint32_t displayWidth, uint32_t displayHeight, bool hdr);
|
||||
virtual void OnDestroyWindowSizeDependentResources();
|
||||
virtual void Draw(VkCommandBuffer commandBuffer, const FfxUpscaleSetup& cameraSetup, UIState* pState);
|
||||
std::string Name() override { return "Spatial Upscale"; }
|
||||
void OnCreate(const FfxUpscaleInitParams& initParams) override;
|
||||
void OnDestroy() override;
|
||||
void OnCreateWindowSizeDependentResources(VkImageView input, VkImageView output, uint32_t renderWidth, uint32_t renderHeight, uint32_t displayWidth, uint32_t displayHeight, bool hdr) override;
|
||||
void OnDestroyWindowSizeDependentResources() override;
|
||||
void Draw(VkCommandBuffer commandBuffer, const FfxUpscaleSetup& cameraSetup, UIState* pState) override;
|
||||
|
||||
protected:
|
||||
typedef struct _FfxTaaCB_
|
||||
|
|
Loading…
Reference in New Issue
Block a user