sandbox
Loading...
Searching...
No Matches
sbx::post::filter Class Reference
Inheritance diagram for sbx::post::filter:
sbx::graphics::subrenderer sbx::post::bloom_filter sbx::post::blur_filter< Type > sbx::post::default_filter< Id > sbx::post::downsample_filter sbx::post::fxaa_filter sbx::post::resolve_filter< Transparent > sbx::post::selection_filter sbx::post::ssao_filter sbx::post::tonemap_filter sbx::post::upsample_filter

Public Types

using pipeline_type = graphics::graphics_pipeline
 

Public Member Functions

 filter (const std::vector< graphics::attachment_description > &attachments, const std::filesystem::path &path, const graphics::pipeline_definition &pipeline_definition=default_pipeline_definition, const VkSpecializationInfo *specialization_info=nullptr)
 
auto descriptor_handler () noexcept -> graphics::descriptor_handler &
 
auto pipeline () noexcept -> pipeline_type &
 
auto attachment (const std::string &descriptor_name, const graphics::descriptor &descriptor) -> const graphics::descriptor &
 
auto attachment (const std::string &descriptor_name, const std::string &render_attachment) -> const graphics::descriptor &
 
auto set_attachment (const std::string &descriptor_name, const graphics::descriptor &descriptor) -> void
 
auto remove_attachment (const std::string &descriptor_name) -> bool
 
- Public Member Functions inherited from sbx::graphics::subrenderer
virtual auto render (command_buffer &command_buffer) -> void=0
 

Static Protected Attributes

static const auto default_pipeline_definition
 

Member Data Documentation

◆ default_pipeline_definition

const auto sbx::post::filter::default_pipeline_definition
inlinestaticprotected
Initial value:
= graphics::pipeline_definition{
.depth = graphics::depth::disabled,
.uses_transparency = false,
.rasterization_state = graphics::rasterization_state{
.polygon_mode = graphics::polygon_mode::fill,
.cull_mode = graphics::cull_mode::none,
.front_face = graphics::front_face::counter_clockwise
}
}

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