Tramway SDK v0.1.1
|
#include <render/opengl/renderer.h>
#include <render/opengl/light.h>
#include <render/opengl/shader.h>
#include <render/opengl/drawlist.h>
#include <render/vertices.h>
#include <render/api.h>
#include <framework/settings.h>
#include <framework/stats.h>
#include <templates/octree.h>
#include <GL/gl.h>
#include <GLES3/gl3.h>
#include <glm/gtc/type_ptr.hpp>
Classes | |
struct | tram::Render::API::ShaderUniformMatrices |
struct | tram::Render::API::ShaderUniformModelMatrices |
struct | tram::Render::API::LayerParameters |
class | tram::Render::API::ShaderBuffer |
Namespaces | |
namespace | tram |
Serialization, i.e. | |
namespace | tram::Render |
High-level Render system API. | |
namespace | tram::Render::API |
Rendering backend API. | |
Functions | |
uint32_t | tram::Render::API::MakeUniformBuffer (const char *name, uint32_t binding, uint32_t initial_size) |
void | tram::Render::API::UploadUniformBuffer (uint32_t handle, uint32_t data_size, void *data) |
void | tram::Render::API::SetLightingParameters (vec3 sun_direction, vec3 sun_color, vec3 ambient_color, layer_t layer) |
void | tram::Render::API::SetViewParameters (vec3 position, quat rotation, uint32_t layer) |
void | tram::Render::API::SetScreenSize (float width, float height) |
void | tram::Render::API::SetScreenClear (vec3 clear_color, bool clear) |
void | tram::Render::API::RenderFrame () |
void | tram::Render::API::SetViewMatrix (const mat4 &matrix, layer_t layer) |
void | tram::Render::API::SetProjectionMatrix (const mat4 &matrix, layer_t layer) |
void | tram::Render::API::GetScreen (char *buffer, int w, int h) |
void | tram::Render::API::Init () |
ContextType | tram::Render::API::GetContext () |
uint32_t | tram::Render::API::GetMaxIndexRangeLength () |
void | tram::Render::API::SetDevice (void *) |
bool | tram::Render::API::IsDebugMode () |
void | tram::Render::API::SetDebugMode (bool) |
Variables | |
ShaderUniformMatrices | tram::Render::API::matrices |
ShaderUniformModelMatrices | tram::Render::API::modelMatrices |
const uint32_t | tram::Render::API::matrix_uniform_binding = 0 |
const uint32_t | tram::Render::API::model_matrix_uniform_binding = 1 |
const uint32_t | tram::Render::API::light_uniform_binding = 2 |
const uint32_t | tram::Render::API::bone_uniform_binding = 3 |
uint32_t | tram::Render::API::matrix_uniform_buffer |
uint32_t | tram::Render::API::model_matrix_uniform_buffer |
uint32_t | tram::Render::API::light_uniform_buffer |
uint32_t | tram::Render::API::bone_uniform_buffer |