Brenta Engine 1.2
Loading...
Searching...
No Matches
brenta::Renderer Class Reference

Data Structures

struct  Command
 
struct  RenderData
 

Static Public Member Functions

static void begin_frame ()
 
static void begin_frame (Camera &cam, int width, int height)
 
static void set_camera (Camera &cam, int width, int height)
 
static void submit (const Renderer::Command &it, bool transparent=false)
 
static void submit_point_light (tenno::shared_ptr< PointLight > point_light)
 
static void submit_point_lights (const tenno::vector< tenno::shared_ptr< PointLight > > &point_light)
 
static void submit_dir_light (tenno::shared_ptr< DirLight > dir_light)
 
static void submit_text (const Text &text)
 
static void submit_skybox (tenno::shared_ptr< Skybox > skybox)
 
static void end_frame (tenno::shared_ptr< RenderPipeline > pipeline)
 
static void flush (tenno::shared_ptr< RenderPipeline > pipeline)
 
static void clear ()
 

Detailed Description

Definition at line 45 of file renderer.hpp.

Member Function Documentation

◆ begin_frame() [1/2]

void Renderer::begin_frame ( )
static

Definition at line 22 of file renderer.cpp.

◆ begin_frame() [2/2]

void Renderer::begin_frame ( Camera cam,
int  width,
int  height 
)
static

Definition at line 28 of file renderer.cpp.

◆ clear()

void Renderer::clear ( )
static

Definition at line 87 of file renderer.cpp.

◆ end_frame()

void Renderer::end_frame ( tenno::shared_ptr< RenderPipeline pipeline)
static

Definition at line 82 of file renderer.cpp.

◆ flush()

void Renderer::flush ( tenno::shared_ptr< RenderPipeline pipeline)
static

Definition at line 97 of file renderer.cpp.

◆ set_camera()

void Renderer::set_camera ( Camera cam,
int  width,
int  height 
)
static

Definition at line 35 of file renderer.cpp.

◆ submit()

void Renderer::submit ( const Renderer::Command it,
bool  transparent = false 
)
static

Definition at line 45 of file renderer.cpp.

◆ submit_dir_light()

void Renderer::submit_dir_light ( tenno::shared_ptr< DirLight dir_light)
static

Definition at line 67 of file renderer.cpp.

◆ submit_point_light()

void Renderer::submit_point_light ( tenno::shared_ptr< PointLight point_light)
static

Definition at line 53 of file renderer.cpp.

◆ submit_point_lights()

void Renderer::submit_point_lights ( const tenno::vector< tenno::shared_ptr< PointLight > > &  point_light)
static

Definition at line 58 of file renderer.cpp.

◆ submit_skybox()

void Renderer::submit_skybox ( tenno::shared_ptr< Skybox skybox)
static

Definition at line 77 of file renderer.cpp.

◆ submit_text()

void Renderer::submit_text ( const Text text)
static

Definition at line 72 of file renderer.cpp.


The documentation for this class was generated from the following files: