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

#include <MaterialManager.h>

Collaboration diagram for hellfire::MaterialManager:

Static Public Member Functions

static void bind_material (const Material &material)
 
static void bind_property_to_shader (const Material::Property &property, uint32_t shader_program, int &texture_unit)
 

Static Private Member Functions

static void bind_property (const Material::Property &property, uint32_t shader_program, int &texture_unit)
 
static const char * get_texture_flag_for_uniform (const std::string &uniform_name)
 

Detailed Description

Definition at line 12 of file MaterialManager.h.

Member Function Documentation

◆ bind_material()

void hellfire::MaterialManager::bind_material ( const Material material)
static

Definition at line 13 of file MaterialManager.cpp.

◆ bind_property()

void hellfire::MaterialManager::bind_property ( const Material::Property property,
uint32_t  shader_program,
int &  texture_unit 
)
staticprivate

Definition at line 27 of file MaterialManager.cpp.

◆ bind_property_to_shader()

void hellfire::MaterialManager::bind_property_to_shader ( const Material::Property property,
uint32_t  shader_program,
int &  texture_unit 
)
static

Definition at line 22 of file MaterialManager.cpp.

◆ get_texture_flag_for_uniform()

const char * hellfire::MaterialManager::get_texture_flag_for_uniform ( const std::string &  uniform_name)
staticprivate

Definition at line 109 of file MaterialManager.cpp.


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