Lugdunum  0.1.0
Public Types | Public Member Functions | Static Public Member Functions | List of all members
lug::Graphics::Vulkan::Render::Pipeline::ShaderBuilder Class Reference

#include <Pipeline.hpp>

Public Types

enum  Type : uint8_t { Type::Vertex, Type::Fragment }
 

Public Member Functions

 ShaderBuilder ()=delete
 
 ShaderBuilder (const ShaderBuilder &)=delete
 
 ShaderBuilder (ShaderBuilder &&)=delete
 
ShaderBuilderoperator= (const ShaderBuilder &)=delete
 
ShaderBuilderoperator= (ShaderBuilder &&)=delete
 
 ~ShaderBuilder ()=delete
 

Static Public Member Functions

static std::vector< uint32_t > buildShader (std::string shaderRoot, ::lug::Graphics::Render::Technique::Type technique, Type type, Pipeline::Id id)
 
static std::vector< uint32_t > buildShaderFromFile (std::string filename, Type type, Pipeline::Id id)
 
static std::vector< uint32_t > buildShaderFromString (std::string filename, std::string content, Type type, Pipeline::Id id)
 

Detailed Description

Definition at line 166 of file Pipeline.hpp.

Member Enumeration Documentation

◆ Type

Enumerator
Vertex 
Fragment 

Definition at line 168 of file Pipeline.hpp.

Constructor & Destructor Documentation

◆ ShaderBuilder() [1/3]

lug::Graphics::Vulkan::Render::Pipeline::ShaderBuilder::ShaderBuilder ( )
delete

◆ ShaderBuilder() [2/3]

lug::Graphics::Vulkan::Render::Pipeline::ShaderBuilder::ShaderBuilder ( const ShaderBuilder )
delete

◆ ShaderBuilder() [3/3]

lug::Graphics::Vulkan::Render::Pipeline::ShaderBuilder::ShaderBuilder ( ShaderBuilder &&  )
delete

◆ ~ShaderBuilder()

lug::Graphics::Vulkan::Render::Pipeline::ShaderBuilder::~ShaderBuilder ( )
delete

Member Function Documentation

◆ operator=() [1/2]

ShaderBuilder& lug::Graphics::Vulkan::Render::Pipeline::ShaderBuilder::operator= ( const ShaderBuilder )
delete

◆ operator=() [2/2]

ShaderBuilder& lug::Graphics::Vulkan::Render::Pipeline::ShaderBuilder::operator= ( ShaderBuilder &&  )
delete

◆ buildShader()

std::vector< uint32_t > lug::Graphics::Vulkan::Render::Pipeline::ShaderBuilder::buildShader ( std::string  shaderRoot,
::lug::Graphics::Render::Technique::Type  technique,
Type  type,
Pipeline::Id  id 
)
static

Definition at line 21 of file ShaderBuilder.cpp.

◆ buildShaderFromFile()

std::vector< uint32_t > lug::Graphics::Vulkan::Render::Pipeline::ShaderBuilder::buildShaderFromFile ( std::string  filename,
Type  type,
Pipeline::Id  id 
)
static

Definition at line 39 of file ShaderBuilder.cpp.

◆ buildShaderFromString()

std::vector< uint32_t > lug::Graphics::Vulkan::Render::Pipeline::ShaderBuilder::buildShaderFromString ( std::string  filename,
std::string  content,
Type  type,
Pipeline::Id  id 
)
static

Definition at line 74 of file ShaderBuilder.cpp.


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