update
This commit is contained in:
parent
825da78f7f
commit
b3db40ebec
6 changed files with 212 additions and 64 deletions
|
|
@ -247,6 +247,14 @@ export namespace Crafter {
|
|||
std::uint16_t FontAtlasImageSlot() const noexcept { return fontAtlasImageSlot_; }
|
||||
std::uint16_t FontAtlasSamplerSlot() const noexcept { return fontAtlasSamplerSlot_; }
|
||||
|
||||
// Heap slot whose descriptor in each per-frame heap points at that
|
||||
// frame's swapchain image. Other passes (e.g. a ray-tracing pass
|
||||
// that wants to render the world directly into the swapchain) can
|
||||
// write to the same image by referencing this slot. Order in
|
||||
// window.passes controls compositing — push such passes BEFORE
|
||||
// the UI pass so UI overlays render on top.
|
||||
std::uint16_t OutImageSlot() const noexcept { return outImageSlot_; }
|
||||
|
||||
private:
|
||||
Window* window_ = nullptr;
|
||||
DescriptorHeapVulkan* heap_ = nullptr;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue