Tramway SDK v0.1.1
Namespaces | Typedefs | Enumerations | Functions
shader.h File Reference
#include <render/render.h>
#include <render/renderer.h>

Go to the source code of this file.

Namespaces

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

Typedefs

typedef uint32_t tram::Render::API::shaderflags_t
 

Enumerations

enum  tram::Render::API::ShaderFlag : shaderflags_t { tram::Render::API::SHADER_NONE = 0 , tram::Render::API::SHADER_SPECULAR = 1 , tram::Render::API::SHADER_LIGHTMAP = 2 }
 

Functions

void tram::Render::API::CompileShaders ()
 
uint32_t tram::Render::API::FindShader (vertexformat_t format, materialtype_t type, shaderflags_t mask)
 
uint32_t tram::Render::API::GetAnyShader (shaderflags_t mask)
 
void tram::Render::API::RegisterShader (vertexformat_t format, materialtype_t type, const char *vertex_shader, const char *fragment_shader)
 
void tram::Render::API::BindUniformBlock (const char *name, uint32_t binding)