|
|
| ReflectionProbePass (const VulkanCore &core, vk::Format color_format, vk::Format depth_format) |
| auto | name () const -> std::string_view override |
| void | record (vk::CommandBuffer cmd, uint32_t frame_index, uint32_t image_index) override |
| void | recordPre (vk::CommandBuffer cmd, uint32_t frame_index, uint32_t image_index) override |
| | Records outside any rendering scope before the main scope opens.
|
|
void | queueSave (uint32_t probe, std::string_view uri) |
|
auto | loadProbe (uint32_t probe, std::string_view uri) -> bool |
| auto | stage () const -> RenderStage override |
| void | captureFace (vk::CommandBuffer cmd, vk::Image scene_color, vk::Extent2D scene_extent, uint32_t probe, uint32_t face) |
|
void | captureIrradianceFace (vk::CommandBuffer cmd, vk::Image scene_color, vk::Extent2D scene_extent, uint32_t face) |
|
void | projectStagingToSh (vk::CommandBuffer cmd, uint32_t probe) |
|
auto | getShBuffer () const -> vk::Buffer |
|
void | queueShSave (uint32_t base, uint32_t count, std::string_view uri, const ShGridKey &key) |
|
auto | loadShRange (uint32_t base, uint32_t count, std::string_view uri, const ShGridKey &key) -> bool |
| void | setProbeResolution (uint32_t probe, uint32_t face_size) |
|
auto | getProbeResolution (uint32_t probe) const -> uint32_t |
|
auto | getProbeView (uint32_t probe) const -> vk::ImageView |
|
auto | getProbeIrradianceView (uint32_t probe) const -> vk::ImageView |
|
auto | getSampler () const -> vk::Sampler |
|
auto | getMipCount () const noexcept -> uint32_t |
|
auto | isBaked (uint32_t probe) const -> bool |
|
void | setBakedTransform (uint32_t probe, const glm::vec3 &position, const glm::vec3 &extents) |
|
auto | isStale (uint32_t probe, const glm::vec3 &position, const glm::vec3 &extents) const -> bool |
|
virtual void | update (uint32_t frame_index, float dt) |
|
void | setEnabled (bool enabled) noexcept |
|
auto | isEnabled () const noexcept -> bool |