aboutsummaryrefslogtreecommitdiffstats
path: root/.gitignore
diff options
context:
space:
mode:
authorAlexander Sulfrian <alexander@sulfrian.net>2012-09-14 22:31:38 +0200
committerAlexander Sulfrian <alexander@sulfrian.net>2013-01-13 22:41:06 +0100
commit8ec46846f6af0da23a1a42f345e40f517ba8f005 (patch)
tree5e83d115b8e0f6b490e3083c7fdc8edf37fb0ca8 /.gitignore
parent780382ab640815e8e92c59d9147432df855359b4 (diff)
downloadusdx-8ec46846f6af0da23a1a42f345e40f517ba8f005.tar.gz
usdx-8ec46846f6af0da23a1a42f345e40f517ba8f005.tar.xz
usdx-8ec46846f6af0da23a1a42f345e40f517ba8f005.zip
utils: add activator helper
The activator should be used to encapsulate activatable objects. It calls enable on construction and disable on deconstruction. It should be used for example to enable some opengl settings, while the activator object is used in local scope. It ensures, that the opengl setting get disabled, if the scope is left even when throwing an exception.
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions