#include <OgreRadialDensityMask.h>
◆ RdmQuality
Enumerator |
---|
RdmLow | Cheap, pixelated and grainy.
|
RdmMedium | Slower than low but much better results.
Can result in sharp text but still aliasing, shimmering/grain
|
RdmHigh | Slowest, but best results.
Can result in blurry text but smoother graphics (i.e. less aliasing and shimmering/grain)
|
◆ RadialDensityMask()
Ogre::RadialDensityMask::RadialDensityMask |
( |
SceneManager * |
sceneManager, |
|
|
const float |
radius[3], |
|
|
HlmsManager * |
hlmsManager |
|
) |
| |
◆ ~RadialDensityMask()
Ogre::RadialDensityMask::~RadialDensityMask |
( |
| ) |
|
◆ getRadius()
const float* Ogre::RadialDensityMask::getRadius |
( |
| ) |
const |
|
inline |
◆ getRectangle()
Rectangle2D* Ogre::RadialDensityMask::getRectangle |
( |
| ) |
const |
|
inline |
◆ setEyesCenter()
void Ogre::RadialDensityMask::setEyesCenter |
( |
const Vector2 & |
leftEyeCenter, |
|
|
const Vector2 & |
rightEyeCenter |
|
) |
| |
Sets the center of the eye.
Each eye is relative to its own viewport. e.g. the default for both eyes is Vector2( 0, 0 ) and not Vector2( -0.5, 0 ) for the left eye and Vector2( 0.5, 0 ) for the right eye
- Parameters
-
leftEyeCenter | In clip space, i.e. in range [-1; 1] |
rightEyeCenter | In clip space, i.e. in range [-1; 1] |
◆ setNewRadius()
void Ogre::RadialDensityMask::setNewRadius |
( |
const float |
radius[3] | ) |
|
Changes existing set of radiuses.
- Parameters
-
radius | For best performance, do not change the value of mRadius[0] |
◆ setQuality()
void Ogre::RadialDensityMask::setQuality |
( |
RdmQuality |
quality | ) |
|
Sets the quality of the reconstruction filter for half resolution rendering.
Quarter and Sixteenth resolution rendering is always reconstructed using low quality.
- Parameters
-
◆ update()
void Ogre::RadialDensityMask::update |
( |
Viewport * |
viewports | ) |
|
The documentation for this class was generated from the following file: