![]() |
Scanframe Modular Application 0.1.0
|
Easy to use class to enable culling temporarily. More...
#include <Helper.h>
Public Member Functions | |
ScopedCulling (Helper &helper, CullingState state={cfEnabled|cfCCW|cfBackside}) | |
Create instance culling front or back of the object. | |
~ScopedCulling () | |
Disables the culling when getting out of scope. | |
Easy to use class to enable culling temporarily.
|
explicit |
Create instance culling front or back of the object.
helper | Helper class. |
state | The culling state assembled from ECullingFlag. The OpenGL default is CCW and Backside. |
sf::xgl::ScopedCulling::~ScopedCulling | ( | ) |
Disables the culling when getting out of scope.