Simulant  21.09-46
A portable game engine for Windows, OSX, Linux, Dreamcast, and PSP
Public Member Functions | Friends | List of all members
smlt::GenericRenderer Class Reference
Inheritance diagram for smlt::GenericRenderer:
smlt::Renderer smlt::GLRenderer smlt::batcher::RenderGroupFactory

Public Member Functions

 GenericRenderer (Window *window)
 
batcher::RenderGroupKey prepare_render_group (batcher::RenderGroup *group, const Renderable *renderable, const MaterialPass *material_pass, const uint8_t pass_number, const bool is_blended, const float distance_to_camera) override
 
void init_context () override
 
std::shared_ptr< batcher::RenderQueueVisitorget_render_queue_visitor (CameraPtr camera) override
 
GPUProgramID new_or_existing_gpu_program (const std::string &vertex_shader_source, const std::string &fragment_shader_source) override
 
GPUProgramPtr gpu_program (const GPUProgramID &program_id) const override
 
GPUProgramID current_gpu_program_id () const override
 
bool supports_gpu_programs () const override
 
GPUProgramID default_gpu_program_id () const override
 
std::string name () const override
 
void prepare_to_render (const Renderable *renderable) override
 
- Public Member Functions inherited from smlt::Renderer
 Renderer (Window *window)
 
bool natively_supports_texture_format (TextureFormat fmt)
 
bool supports_texture_format (TextureFormat fmt)
 
virtual bool texture_format_is_native (TextureFormat fmt)
 
virtual bool texture_format_is_usable (TextureFormat fmt)
 
bool is_texture_registered (TextureID texture_id) const
 
void pre_render ()
 
void prepare_texture (Texture *texture)
 
void prepare_material (Material *material)
 

Friends

class GL2RenderQueueVisitor
 

Additional Inherited Members

- Public Types inherited from smlt::Renderer
typedef std::shared_ptr< Rendererptr
 
- Public Attributes inherited from smlt::Renderer
Property< Window *Renderer::* > window = { this, &Renderer::window_ }
 

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