#include <shader.hpp>
◆ Ptr
◆ create() [1/2]
| auto wren::vk::Shader::create |
( |
const ::vk::Device & | device, |
|
|
const std::filesystem::path & | shader_path ) -> expected< Ptr > |
|
static |
◆ create() [2/2]
| auto wren::vk::Shader::create |
( |
const ::vk::Device & | device, |
|
|
const std::string & | vertex_shader, |
|
|
const std::string & | fragment_shader ) -> expected< Ptr > |
|
static |
◆ create_graphics_pipeline()
| auto wren::vk::Shader::create_graphics_pipeline |
( |
const ::vk::Device & | device, |
|
|
const ::vk::RenderPass & | render_pass, |
|
|
const math::Vec2f & | size, |
|
|
bool | depth ) -> expected< void > |
◆ descriptor_layout()
| auto wren::vk::Shader::descriptor_layout |
( |
| ) |
const |
|
inlinenodiscard |
◆ fragment_shader()
| void wren::vk::Shader::fragment_shader |
( |
const ShaderModule & | fragment | ) |
|
|
inline |
◆ get_pipeline()
| auto wren::vk::Shader::get_pipeline |
( |
| ) |
const |
|
inlinenodiscard |
◆ pipeline_layout()
| auto wren::vk::Shader::pipeline_layout |
( |
| ) |
const |
|
inlinenodiscard |
◆ read_wren_shader_file()
| auto wren::vk::Shader::read_wren_shader_file |
( |
const std::filesystem::path & | path | ) |
-> expected< std::map< ShaderType, std::string > > |
|
staticprivate |
◆ vertex_shader()
| void wren::vk::Shader::vertex_shader |
( |
const ShaderModule & | vertex | ) |
|
|
inline |
◆ descriptor_layout_
| ::vk::DescriptorSetLayout wren::vk::Shader::descriptor_layout_ |
|
private |
◆ fragment_shader_module_
◆ pipeline_
| ::vk::Pipeline wren::vk::Shader::pipeline_ |
|
private |
◆ pipeline_layout_
| ::vk::PipelineLayout wren::vk::Shader::pipeline_layout_ |
|
private |
◆ vertex_shader_module_
The documentation for this class was generated from the following file: