Class ExposureStage#
Defined in File ExposureStage.ixx
Class Documentation#
-
class ExposureStage#
Public Functions
-
ExposureStage()#
-
ExposureStage(const ExposureStage&) = delete#
-
ExposureStage &operator=(const ExposureStage&) = delete#
-
void recreateFrameResources(uint32_t imageCount)#
-
void bindHdrTarget(uint32_t imageIndex, vk::ImageView hdrView)#
-
void shaderHotReload()#
-
void recordHistogram(vk::CommandBuffer commandBuffer, uint32_t imageIndex, vk::Extent2D extent)#
-
void recordReduce(vk::CommandBuffer commandBuffer, uint32_t imageIndex, const ExposureFrameParams ¶ms)#
-
void requestReset(float ev)#
-
inline vk::Buffer exposureBuffer()#
-
void requestCapture()#
-
void bindCaptureFence(vk::Fence fence)#
-
void invalidateCaptureFence()#
-
std::optional<std::array<float, 2>> takeCapture()#
-
void cleanUp()#
-
~ExposureStage()#
Public Static Attributes
-
static constexpr vk::DeviceSize kExposureStateBytes = 2 * sizeof(float)#
-
ExposureStage()#