Elaztek Developer Hub
Blamite Game Engine - blam!  00398.09.22.23.2015.blamite
The core library for the Blamite Game Engine.
Demo::SmaaUtils Class Reference

#include <SmaaUtils.h>

Public Types

enum  PresetQuality { SMAA_PRESET_LOW, SMAA_PRESET_MEDIUM, SMAA_PRESET_HIGH, SMAA_PRESET_ULTRA }
 
enum  EdgeDetectionMode { EdgeDetectionDepth, EdgeDetectionLuma, EdgeDetectionColour }
 

Static Public Member Functions

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 hardware. More...
 

Member Enumeration Documentation

◆ EdgeDetectionMode

Enumerator
EdgeDetectionDepth 
EdgeDetectionLuma 
EdgeDetectionColour 

◆ PresetQuality

Enumerator
SMAA_PRESET_LOW 
SMAA_PRESET_MEDIUM 
SMAA_PRESET_HIGH 
SMAA_PRESET_ULTRA 

Member Function Documentation

◆ initialize()

void Demo::SmaaUtils::initialize ( Ogre::RenderSystem *  renderSystem,
PresetQuality  quality,
EdgeDetectionMode  edgeDetectionMode 
)
static

By default the SMAA shaders will be compiled using conservative settings so it can run on any hardware.

You should call this function at startup so we can configure and compile (or recompile) the shaders with optimal settings for the current hardware the user is running.

Parameters
renderSystem
qualitySee PresetQuality
edgeDetectionModeSee EdgeDetectionMode

The documentation for this class was generated from the following files: