Toast Engine
Loading...
Searching...
No Matches
renderer::DepthPrepass Class Reference

#include <depth_prepass.hpp>

Public Member Functions

 DepthPrepass (const VulkanCore &core, vk::Format depth_format, vk::Extent2D extent)
auto isReady () const -> bool
void record (vk::CommandBuffer cmd, uint32_t frame_index)
 Expects an open rendering scope with a depth attachment and no colour attachments.
auto getDrawnCount () const noexcept -> uint32_t

Detailed Description

Note
Only pays off while non cutout materials have no discard

The documentation for this class was generated from the following files: