Elaztek Developer Hub
Blamite Game Engine - blam!  00398.09.22.23.2015.blamite
The core library for the Blamite Game Engine.
SmaaUtils.h
Go to the documentation of this file.
1 
2 #include "OGRE/OgrePrerequisites.h"
3 
4 namespace Demo
5 {
6  class SmaaUtils
7  {
8  public:
10  {
11  SMAA_PRESET_LOW, //(%60 of the quality)
12  SMAA_PRESET_MEDIUM, //(%80 of the quality)
13  SMAA_PRESET_HIGH, //(%95 of the quality)
14  SMAA_PRESET_ULTRA //(%99 of the quality)
15  };
16 
18  {
19  EdgeDetectionDepth, //Fastest, not supported in Ogre.
20  EdgeDetectionLuma, //Ok. The default on many implementations.
21  EdgeDetectionColour, //Best quality
22  };
23 
34  static void initialize( Ogre::RenderSystem *renderSystem, PresetQuality quality,
35  EdgeDetectionMode edgeDetectionMode );
36  };
37 }
Demo::SmaaUtils::SMAA_PRESET_MEDIUM
@ SMAA_PRESET_MEDIUM
Definition: SmaaUtils.h:12
SmaaUtils.h
Demo::SmaaUtils::initialize
static void initialize(Ogre::RenderSystem *renderSystem, PresetQuality quality, EdgeDetectionMode edgeDetectionMode)
By default the SMAA shaders will be compiled using conservative settings so it can run on any hardwar...
Definition: SmaaUtils.cpp:13
Demo::SmaaUtils
Definition: SmaaUtils.h:6
Demo::SmaaUtils::SMAA_PRESET_HIGH
@ SMAA_PRESET_HIGH
Definition: SmaaUtils.h:13
Demo
Definition: BaseSystem.cpp:5
Demo::SmaaUtils::EdgeDetectionDepth
@ EdgeDetectionDepth
Definition: SmaaUtils.h:19
Demo::SmaaUtils::PresetQuality
PresetQuality
Definition: SmaaUtils.h:9
Blam::Globals::String
@ String
Represents a std::string.
Definition: globals.h:48
Demo::SmaaUtils::EdgeDetectionMode
EdgeDetectionMode
Definition: SmaaUtils.h:17
Demo::SmaaUtils::SMAA_PRESET_ULTRA
@ SMAA_PRESET_ULTRA
Definition: SmaaUtils.h:14
material
Definition: material.h:53
Demo::SmaaUtils::EdgeDetectionColour
@ EdgeDetectionColour
Definition: SmaaUtils.h:21
Demo::SmaaUtils::EdgeDetectionLuma
@ EdgeDetectionLuma
Definition: SmaaUtils.h:20
Demo::SmaaUtils::SMAA_PRESET_LOW
@ SMAA_PRESET_LOW
Definition: SmaaUtils.h:11