4#ifndef TRAM_SDK_RENDER_RENDERER_H
5#define TRAM_SDK_RENDER_RENDERER_H
void RegisterVertexDefinition(vertexformat_t format, VertexDefinition definition)
Registers a VertexDefinition for a specified vertex format.
Definition: renderer.cpp:62
uint32_t vertexformat_t
Definition: render.h:20
renderflags
Flags for DrawListObjects.
Definition: renderer.h:12
@ FLAG_NO_RENDER
Definition: renderer.h:13
@ FLAG_DRAW_INDEXED
Definition: renderer.h:16
@ FLAG_REVERSE_SORT
Definition: renderer.h:17
@ FLAG_DISABLE_LIGHTING
Definition: renderer.h:22
@ FLAG_RENDER
Definition: renderer.h:14
@ FLAG_NO_DEPTH_TEST
Definition: renderer.h:19
@ FLAG_TRANSPARENT
Definition: renderer.h:18
@ FLAG_NO_DIRECTIONAL
Definition: renderer.h:20
@ FLAG_DRAW_LINES
Definition: renderer.h:21
ColorMode
Texture color mode.
Definition: renderer.h:26
@ COLORMODE_RG
Definition: renderer.h:28
@ COLORMODE_R
Definition: renderer.h:27
@ COLORMODE_RGBA
Definition: renderer.h:30
@ COLORMODE_RGB
Definition: renderer.h:29
TextureFilter
Texture filters.
Definition: renderer.h:34
@ TEXTUREFILTER_LINEAR
Definition: renderer.h:36
@ TEXTUREFILTER_LINEAR_MIPMAPPED
Definition: renderer.h:37
@ TEXTUREFILTER_NEAREST
Definition: renderer.h:35
VertexDefinition GetVertexDefinition(vertexformat_t format)
Returns a previously registered VertexDefinition.
Definition: renderer.cpp:77
Atributes for vertex buffer vertices.
Definition: renderer.h:41
uint32_t stride
Definition: renderer.h:58
enum tram::Render::VertexAttribute::@64 type
@ FFP_COLOR
Definition: renderer.h:51
@ FFP_POSITION
Definition: renderer.h:49
@ FFP_BONE_INDEX
Definition: renderer.h:54
@ FFP_IGNORE
Definition: renderer.h:48
@ FFP_LIGHTMAP
Definition: renderer.h:53
@ FFP_BONE_WEIGHT
Definition: renderer.h:55
@ FFP_TEXTURE
Definition: renderer.h:52
@ FFP_NORMAL
Definition: renderer.h:50
uint32_t size
Definition: renderer.h:57
enum tram::Render::VertexAttribute::@65 ffp_type
uint64_t offset
Definition: renderer.h:59
@ INT32
Definition: renderer.h:44
@ FLOAT32
Definition: renderer.h:43
@ UINT32
Definition: renderer.h:45
Definition: renderer.h:62
const VertexAttribute * attributes
Definition: renderer.h:63
size_t attribute_count
Definition: renderer.h:64