Class SsaoStage#

Class Documentation#

class SsaoStage#

Public Functions

SsaoStage()#
SsaoStage(const SsaoStage&) = delete#
SsaoStage &operator=(const SsaoStage&) = delete#
void init(const std::shared_ptr<VulkanDevice> &in_device, VulkanSwapChain *swap_chain, vk::CommandPool commandPool)#
void recreateFrameResources(vk::CommandPool commandPool)#
void bindDepth(SsaoDepthSource source, vk::ImageView depthView)#
void shaderHotReload()#
void recordCommands(vk::CommandBuffer commandBuffer, uint32_t imageIndex, SsaoDepthSource source, const glm::mat4 &projection)#
inline Kataglyphis::Texture &getOcclusion()#
inline vk::Sampler getSampler() const#
inline vk::Extent2D getExtent() const#
inline std::array<vk::Image, 2> targetImages() const#
void cleanUp()#
~SsaoStage()#

Public Static Attributes

static constexpr vk::Format kFormat = vk::Format::eR8Unorm#