Tramway SDK
Classes | Namespaces | Enumerations | Functions
renderer.h File Reference
#include <render/render.h>

Go to the source code of this file.

Classes

struct  tram::Render::VertexAttribute
 Atributes for vertex buffer vertices. More...
 
struct  tram::Render::VertexDefinition
 

Namespaces

namespace  tram
 
namespace  tram::Render
 

Enumerations

enum  tram::Render::renderflags : uint32_t {
  tram::Render::FLAG_NO_RENDER = 0 , tram::Render::FLAG_RENDER = 1 , tram::Render::FLAG_DRAW_INDEXED = 4 , tram::Render::FLAG_REVERSE_SORT = 8 ,
  tram::Render::FLAG_TRANSPARENT = 16 , tram::Render::FLAG_NO_DEPTH_TEST = 32 , tram::Render::FLAG_NO_DIRECTIONAL = 64 , tram::Render::FLAG_DRAW_LINES = 128 ,
  tram::Render::FLAG_DISABLE_LIGHTING = 256
}
 Flags for DrawListObjects. More...
 
enum  tram::Render::ColorMode { tram::Render::COLORMODE_R , tram::Render::COLORMODE_RG , tram::Render::COLORMODE_RGB , tram::Render::COLORMODE_RGBA }
 Texture color mode. More...
 
enum  tram::Render::TextureFilter { tram::Render::TEXTUREFILTER_NEAREST , tram::Render::TEXTUREFILTER_LINEAR , tram::Render::TEXTUREFILTER_LINEAR_MIPMAPPED }
 Texture filters. More...
 

Functions

void tram::Render::RegisterVertexDefinition (vertexformat_t format, VertexDefinition definition)
 Registers a VertexDefinition for a specified vertex format. More...
 
VertexDefinition tram::Render::GetVertexDefinition (vertexformat_t format)
 Returns a previously registered VertexDefinition. More...