![]() |
Scanframe Modular Application 0.1.0
|
Class to enable culling in a particular scope only. More...
#include <Helper.h>
Public Member Functions | |
| ScopedCulling (Helper &helper, CullingState state={cfEnabled|cfCCW|cfBackside}) | |
| Create an instance culling front or back of the object. | |
| ~ScopedCulling () | |
| Disables the culling when getting out of scope. | |
Class to enable culling in a particular scope only.
|
explicit |
Create an 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.