![]() |
OGRE 2.3.1
Object-Oriented Graphics Rendering Engine
|
Opaque struct that holds effective FSAA (MSAA, CSAA, etc.) mode. More...
#include <OgreCommon.h>
Opaque struct that holds effective FSAA (MSAA, CSAA, etc.) mode.
Note that you can request a SampleDescription, but you may get the closest quality if that particular setting is not supported by the GPU.
Additionally, device lost events can cause FSAA settings to be degraded on the fly Listen for TextureGpuListener::FsaaSettingAlteredByApi events to be notified of this
|
inline |
void Ogre::SampleDescription::_set | ( | uint8 | colourSamples, |
uint8 | coverageSamples, | ||
MsaaPatterns::MsaaPatterns | pattern | ||
) |
For internal use.
Appends the FSAA description to the string.
Appends the FSAA description to the string.
|
inline |
Returns true if this is CSAA, whether it's quality or not.
Returns true if this is CSAA in quality mode.
|
inline |
|
inline |
|
inline |
Set CSAA by NVIDIA's marketing names e.g.
8x CSAA call setCsaa( 8u, false ) 8x CSAA (Quality) then call setCsaa( 8u, true ) 16x CSAA call setCsaa( 16u, false ) 16x CSAA (Quality) then call setCsaa( 16u, true )
samples | Marketing value. Can be 8 or 16 |
bQuality | True to use the 'quality' variation, false otherwise |
Set EQAA by its marketing number (which coincides with its technical spec) e.g.
2f4x EQAA call setEqaa( 2u, 4u ) 4f8x EQAA call setEqaa( 4u, 8u ) 8f16x EQAA call setEqaa( 8u, 16u )
mColourSamples | |
coverageSample |
void Ogre::SampleDescription::setMsaa | ( | uint8 | msaa, |
MsaaPatterns::MsaaPatterns | pattern = MsaaPatterns::Undefined |
||
) |