Tramway SDK v0.1.1
Namespaces | Functions
material.cpp File Reference
#include <render/opengl/material.h>
#include <config.h>

Namespaces

namespace  tram
 Serialization, i.e.
 
namespace  tram::Render
 High-level Render system API.
 
namespace  tram::Render::API
 Rendering backend API.
 

Functions

material_t tram::Render::API::MakeMaterial ()
 
void tram::Render::API::DeleteMaterial (material_t material)
 
void tram::Render::API::SetMaterialTexture (material_t material, texturehandle_t texture)
 
void tram::Render::API::SetMaterialColor (material_t material, vec4 color)
 
void tram::Render::API::SetMaterialSpecularWeight (material_t material, float weight)
 
void tram::Render::API::SetMaterialSpecularExponent (material_t material, float exponent)
 
void tram::Render::API::SetMaterialSpecularTransparency (material_t material, float transparency)
 
void tram::Render::API::SetMaterialReflectivity (material_t material, float reflectivity)