Renderer

Undocumented in source.

Members

Aliases

Technique
alias Technique = RenderTechnique
Undocumented in source.

Functions

clear
void clear()
Undocumented in source. Be warned that the author may not have intended to support it.
draw
void draw(const(DrawData) data)
Undocumented in source. Be warned that the author may not have intended to support it.
fetchBlock
VertexBlock fetchBlock()
Undocumented in source. Be warned that the author may not have intended to support it.
freeBlocks
void freeBlocks()
Undocumented in source. Be warned that the author may not have intended to support it.
getBlock
VertexBlock getBlock()
Undocumented in source. Be warned that the author may not have intended to support it.
initialize
void initialize()
Undocumented in source. Be warned that the author may not have intended to support it.
isRemainingBlocks
bool isRemainingBlocks()
Undocumented in source. Be warned that the author may not have intended to support it.
present
void present()
Undocumented in source. Be warned that the author may not have intended to support it.
pushBlock
void pushBlock(VertexBlock block)
Undocumented in source. Be warned that the author may not have intended to support it.
pushData
void pushData()
Undocumented in source. Be warned that the author may not have intended to support it.
pushThreadsBlocks
void pushThreadsBlocks()
Undocumented in source. Be warned that the author may not have intended to support it.
resize
void resize(ivec2 size)
Undocumented in source. Be warned that the author may not have intended to support it.
view
void view(vec2 pos, vec2 size)
Undocumented in source. Be warned that the author may not have intended to support it.

Manifest constants

BufferUsage
enum BufferUsage;
Undocumented in source.
MaxObjects
enum MaxObjects;
Undocumented in source.
batch_size
enum batch_size;
Undocumented in source.
block_size
enum block_size;
Undocumented in source.

Static functions

__loadBackend
void __loadBackend()
Undocumented in source. Be warned that the author may not have intended to support it.

Static variables

__clear
void function(ref Renderer this_) __clear;
Undocumented in source.
__draw
void function(ref Renderer this_, scope ref const(DrawData) data) __draw;
Undocumented in source.
__initialize
void function(ref Renderer this_) __initialize;
Undocumented in source.
__present
void function(ref Renderer this_) __present;
Undocumented in source.
technique
Technique technique;
Undocumented in source.

Structs

DrawCall
struct DrawCall
Undocumented in source.
DrawData
struct DrawData
Undocumented in source.
IndirectDraw
struct IndirectDraw
Undocumented in source.
RenderData
struct RenderData
Undocumented in source.
Thread
struct Thread
Undocumented in source.
VertexBlock
struct VertexBlock
Undocumented in source.

Variables

allocator
BlockAllocator allocator;
Undocumented in source.
batch_ibo
Buffer[2] batch_ibo;
Undocumented in source.
batch_indices
ushort[] batch_indices;
Undocumented in source.
batch_vbo
Buffer[2] batch_vbo;
Undocumented in source.
batch_vertices
ubyte[] batch_vertices;
Undocumented in source.
block_alignment
int block_alignment;
Undocumented in source.
block_max_size
int block_max_size;
Undocumented in source.
block_stack_mutex
Mutex* block_stack_mutex;
Undocumented in source.
blocks
Vector!VertexBlock blocks;
Undocumented in source.
current_block
uint current_block;
Undocumented in source.
data_index
int data_index;
Undocumented in source.
data_offset
int data_offset;
Undocumented in source.
data_ptr
void* data_ptr;
Undocumented in source.
draw_list
Vector!DrawCall draw_list;
Undocumented in source.
dres
vec2 dres;
Undocumented in source.
get_block_mutex
Mutex* get_block_mutex;
Undocumented in source.
id_buffer
Buffer id_buffer;
Undocumented in source.
indirect_block
IndirectDraw[] indirect_block;
Undocumented in source.
indirect_buffer
Buffer indirect_buffer;
Undocumented in source.
item_id
uint item_id;
Undocumented in source.
multi_count
uint[] multi_count;
Undocumented in source.
multi_offset
uint[] multi_offset;
Undocumented in source.
prepared_items
uint prepared_items;
Undocumented in source.
render_blocks
uint render_blocks;
Undocumented in source.
render_list
RenderData[] render_list;
Undocumented in source.
resolution
ivec2 resolution;
Undocumented in source.
sdl_transform
vec4 sdl_transform;
Undocumented in source.
threads
Thread[] threads;
Undocumented in source.
ubos
Buffer[2] ubos;
Undocumented in source.
uniform_block
ubyte[] uniform_block;
Undocumented in source.
view_pos
vec2 view_pos;
Undocumented in source.
view_size
vec2 view_size;
Undocumented in source.

Meta