various small code cleanups and improvements
Largely refactoring work to make the code somewhat nicer to work with.
This commit is contained in:
+15
-16
@@ -1,25 +1,24 @@
|
||||
#ifndef RENDERMODE_H
|
||||
#define RENDERMODE_H
|
||||
|
||||
namespace olive {
|
||||
|
||||
/**
|
||||
* @brief The primary different "modes" the renderer can function in
|
||||
*/
|
||||
enum RenderMode {
|
||||
class RenderMode {
|
||||
public:
|
||||
/**
|
||||
* This render is for realtime preview ONLY and does not need to be "perfect". Nodes can use lower-accuracy functions
|
||||
* to save performance when possible.
|
||||
* @brief The primary different "modes" the renderer can function in
|
||||
*/
|
||||
kOffline,
|
||||
enum Mode {
|
||||
/**
|
||||
* This render is for realtime preview ONLY and does not need to be "perfect". Nodes can use lower-accuracy functions
|
||||
* to save performance when possible.
|
||||
*/
|
||||
kOffline,
|
||||
|
||||
/**
|
||||
* This render is some sort of export or master copy and Nodes should take time/bandwidth/system resources to produce
|
||||
* a higher accuracy version.
|
||||
*/
|
||||
kOnline
|
||||
/**
|
||||
* This render is some sort of export or master copy and Nodes should take time/bandwidth/system resources to produce
|
||||
* a higher accuracy version.
|
||||
*/
|
||||
kOnline
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif // RENDERMODE_H
|
||||
|
||||
Reference in New Issue
Block a user