Components and libraries to render graphical representations of entities.
- data
- asset: indicates that an entity is the model for a given asset
- camera: uses an entity as a camera, drawing it to a viewport
- debug_graphics: draw debug elements
- drawable: mark an entity as drawable
- god_rays: draw god rays for a light
- highlight: draw a contour around the entity
- light: use entities as lights
- model_data: vertex and index buffers for a model
- no_shadow: disables shadows
- on_screen: base class for 2D elements
- sky_box: draw a sky box
- sprite: draw 2D or 3D sprites
- text: draw 2D or 3D text
- viewport: drawable area of a window
- window: operating system window
- functions
- appears_in_viewport: returns whether the entity should appear in a viewport (or whether the viewport wants an entity to appear in it)
- get_entity_in_pixel: query the GBuffer for which entity is seen in a pixel
- get_position_in_pixel: query the GBuffer for which position is seen in a pixel
- on_mouse_captured: notify systems that the mouse is being captured by a window
- helpers
- convert_to_screen_percentage: convert pixel coordinates to screen percentage
- entity_appears_in_viewport: check if an entity should appear in a viewport
- get_facings: get a camera's facings
- get_viewport_for_pixel: get the viewport for a given pixel
Sub-libraries:
- kengine_render_animation: animate entities
- kengine_render_find_model_by_asset: find an entity's model based on its asset
- kengine_render_glfw: create windows with GLFW
- kengine_render_kreogl: render entities with Kreogl
- kengine_render_on_click: notify entities when they are clicked
- kengine_render_polyvox: generate voxel models with Polyvox
- kengine_render_sfml: render entities with SFML