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

Public Member Functions

 GL1XRenderer (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
std::shared_ptr< batcher::RenderQueueVisitorget_render_queue_visitor (CameraPtr camera) override
void init_context () override
std::string name () const override
void prepare_to_render (const Renderable *renderable) override
- Public Member Functions inherited from smlt::Renderer
 Renderer (Window *window)
virtual GPUProgramID new_or_existing_gpu_program (const std::string &vertex_shader, const std::string &fragment_shader)
virtual GPUProgramID current_gpu_program_id () const
virtual GPUProgramPtr gpu_program (const GPUProgramID &) const
virtual GPUProgramID default_gpu_program_id () const
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)
virtual bool supports_gpu_programs () const
bool is_texture_registered (TextureID texture_id) const
void pre_render ()
void prepare_texture (Texture *texture)
void prepare_material (Material *material)


class GL1RenderQueueVisitor

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)
void on_texture_unregister (TextureID tex_id, Texture *texture)
void on_texture_prepare (Texture *texture)
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: