Tramway SDK v0.1.1
Namespaces | Functions
drawlist.cpp File Reference
#include <render/opengl/drawlist.h>
#include <render/opengl/light.h>
#include <render/opengl/shader.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

drawlistentry_t tram::Render::API::InsertDrawListEntry ()
 
void tram::Render::API::RemoveDrawListEntry (drawlistentry_t entry)
 
uint32_t tram::Render::API::GetFlags (drawlistentry_t entry)
 
void tram::Render::API::SetFlags (drawlistentry_t entry, uint32_t flags)
 
void tram::Render::API::SetLayer (drawlistentry_t entry, layer_t layer)
 
void tram::Render::API::SetPose (drawlistentry_t entry, Pose *pose)
 
void tram::Render::API::SetLightmap (drawlistentry_t entry, texturehandle_t lightmap)
 
void tram::Render::API::SetEnvironmentMap (drawlistentry_t entry, texturehandle_t environmentmap)
 
void tram::Render::API::SetSphericalHarmonic (drawlistentry_t entry, sphericalharmonic_t harmonic)
 
void tram::Render::API::SetDrawListAABB (drawlistentry_t entry, vec3 min, vec3 max)
 
void tram::Render::API::SetDrawListColors (drawlistentry_t entry, size_t count, vec4 *color)
 
void tram::Render::API::SetDrawListTextureOffsets (drawlistentry_t entry, size_t count, vec4 *offset)
 
void tram::Render::API::SetLights (drawlistentry_t entry, light_t *lights)
 
void tram::Render::API::SetMatrix (drawlistentry_t entry, const mat4 &matrix)
 
void tram::Render::API::SetFadeDistance (drawlistentry_t entry, float near, float far)
 
void tram::Render::API::SetDrawListVertexArray (drawlistentry_t entry, vertexarray_t vertex_array_handle)
 
void tram::Render::API::SetDrawListIndexArray (drawlistentry_t entry, indexarray_t index_array_handle)
 
void tram::Render::API::SetDrawListSpriteArray (drawlistentry_t entry, spritearray_t sprite_array_handle)
 
void tram::Render::API::SetDrawListIndexRange (drawlistentry_t entry, uint32_t index_offset, uint32_t index_length)
 
bool tram::Render::API::SetDrawListShader (drawlistentry_t entry, vertexformat_t vertex_format, materialtype_t material_type)
 
void tram::Render::API::SetDrawListMaterials (drawlistentry_t entry, size_t material_count, material_t *materials)