sandbox
Loading...
Searching...
No Matches
sbx::graphics::pass_node Class Reference

Public Types

enum class  kind : std::uint8_t { graphics , compute }
 

Public Member Functions

 pass_node (const utility::hashed_string &name, const viewport &viewport, const kind kind)
 
auto reads (const attachment_handle attachment) -> void
 
template<typename... Attachments>
requires (sizeof...(Attachments) > 1u && (std::is_same_v<std::remove_cvref_t<Attachments>, attachment_handle> && ...))
auto reads (Attachments &&... attachments) -> void
 
auto writes (const attachment_handle attachment, const attachment_load_operation load_operation=attachment_load_operation::clear) -> void
 
auto depends_on (const pass_handle pass) -> void
 
template<typename... Passes>
requires (sizeof...(Passes) > 1u && (std::is_same_v<std::remove_cvref_t<Passes>, pass_handle> && ...))
auto depends_on (Passes &&... passes) -> void
 

Friends

class render_graph
 

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