Loading...
Searching...
No Matches
hellfire::MaterialBuilder Class Reference

#include <Material.h>

Collaboration diagram for hellfire::MaterialBuilder:

Static Public Member Functions

static std::shared_ptr< Materialcreate (const std::string &name)
 
static std::shared_ptr< Materialcreate_custom (const std::string &name, const std::string &vertex_path, const std::string &fragment_path)
 

Static Private Member Functions

static void compile_shader_from_material (Material &material)
 

Detailed Description

Definition at line 290 of file Material.h.

Member Function Documentation

◆ compile_shader_from_material()

void hellfire::MaterialBuilder::compile_shader_from_material ( Material material)
staticprivate

Definition at line 96 of file Material.cpp.

◆ create()

std::shared_ptr< Material > hellfire::MaterialBuilder::create ( const std::string &  name)
static

Definition at line 54 of file Material.cpp.

◆ create_custom()

std::shared_ptr< Material > hellfire::MaterialBuilder::create_custom ( const std::string &  name,
const std::string &  vertex_path,
const std::string &  fragment_path 
)
static

Definition at line 86 of file Material.cpp.


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