Simulant  21.12-574
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::GLRenderer smlt::Renderer 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_usable (TextureFormat fmt)
bool is_texture_registered (TextureID texture_id) const
void pre_render ()
void prepare_texture (Texture *texture)
void prepare_material (Material *material)


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_ }
- Protected Member Functions inherited from smlt::GLRenderer
 GLRenderer (Window *window)
void on_texture_register (TextureID tex_id, Texture *texture) override
void on_texture_unregister (TextureID tex_id, Texture *texture) override
void on_texture_prepare (Texture *texture) override
bool texture_format_is_native (TextureFormat fmt) override
uint32_t convert_format (TextureFormat format)
uint32_t convert_type (TextureFormat format)
- Protected Attributes inherited from smlt::GLRenderer
thread::Mutex texture_object_mutex_
std::unordered_map< TextureID, uint32_t > texture_objects_

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