#include <rendering_mode.H>
Collaboration diagram for RenderingModeSingleton< RenderingModeSelectionPolicy >:
Public Member Functions | |
bool | supported () |
Indicates whether any of the available rendering modes are supported on the current system. | |
void | setup_for_drawing_outside_dl (const Patch *patch) |
| |
void | setup_for_drawing_inside_dl (const Patch *patch) |
| |
void | after_drawing_outside_dl (const Patch *patch) |
| |
void | after_drawing_inside_dl (const Patch *patch) |
| |
GLStripCB * | get_new_strip_cb () |
| |
Static Public Member Functions | |
static RenderingModeSingleton< RenderingModeSelectionPolicy > & | Instance () |
Private Member Functions | |
RenderingModeSingleton () | |
RenderingModeSingleton (const RenderingModeSingleton &other) | |
~RenderingModeSingleton () | |
RenderingModeSingleton & | operator= (const RenderingModeSingleton &rhs) |
Private Attributes | |
RenderingMode * | mode |
This class determines which rendering modes are available for use and picks the best one based on the RenderingModeSelectionPolicy. This policy should be a class with a public static class method called SelectRenderingMode that takes no arguments and returns a pointer to a newly allocated rendering mode (or 0 if none of the available rendering modes can be used).
Definition at line 89 of file rendering_mode.H.
|
Definition at line 146 of file rendering_mode.H. |
|
|
|
Definition at line 154 of file rendering_mode.H. References RenderingModeSingleton< RenderingModeSelectionPolicy >::mode. |
|
Definition at line 113 of file rendering_mode.H. References RenderingMode::after_drawing_inside_dl(), and RenderingModeSingleton< RenderingModeSelectionPolicy >::mode. |
|
Definition at line 109 of file rendering_mode.H. References RenderingMode::after_drawing_outside_dl(), and RenderingModeSingleton< RenderingModeSelectionPolicy >::mode. |
|
Definition at line 117 of file rendering_mode.H. References RenderingMode::get_new_strip_cb(), and RenderingModeSingleton< RenderingModeSelectionPolicy >::mode. |
|
Definition at line 136 of file rendering_mode.H. Referenced by LineDrawingTexture::draw(), and CurvatureTexture::draw(). |
|
|
|
Definition at line 105 of file rendering_mode.H. References RenderingModeSingleton< RenderingModeSelectionPolicy >::mode, and RenderingMode::setup_for_drawing_inside_dl(). |
|
Definition at line 101 of file rendering_mode.H. References RenderingModeSingleton< RenderingModeSelectionPolicy >::mode, and RenderingMode::setup_for_drawing_outside_dl(). |
|
Indicates whether any of the available rendering modes are supported on the current system.
Definition at line 97 of file rendering_mode.H. References RenderingModeSingleton< RenderingModeSelectionPolicy >::mode. |
|