VkCV Framework
0.0.1
CV Vulkan framework
|
Public Member Functions | |
FSRUpscaling (Core &core) | |
void | recordUpscaling (const CommandStreamHandle &cmdStream, const ImageHandle &input, const ImageHandle &output) override |
bool | isHdrEnabled () const |
void | setHdrEnabled (bool enabled) |
float | getSharpness () const |
void | setSharpness (float sharpness) |
![]() | |
Upscaling (Core &core) | |
Private Attributes | |
ComputePipelineHandle | m_easuPipeline |
ComputePipelineHandle | m_rcasPipeline |
DescriptorSetLayoutHandle | m_easuDescriptorSetLayout |
DescriptorSetHandle | m_easuDescriptorSet |
DescriptorSetLayoutHandle | m_rcasDescriptorSetLayout |
DescriptorSetHandle | m_rcasDescriptorSet |
Buffer< FSRConstants > | m_easuConstants |
Buffer< FSRConstants > | m_rcasConstants |
ImageHandle | m_intermediateImage |
SamplerHandle | m_sampler |
bool | m_hdr |
float | m_sharpness |
Additional Inherited Members | |
![]() | |
Core & | m_core |
|
private |
Sharpness will calculate the rcasAttenuation value which should be between 0.0f and 2.0f (default: 0.25f).
rcasAttenuation = (1.0f - sharpness) * 2.0f
So the default value for sharpness should be 0.875f.
Beware that 0.0f or any negative value of sharpness will disable the rcas pass completely.