#include
<adskFrameBufferState.h>
This class controls the the FB_FLAG_DISABLE flag in a way that is controlled by variable scope, which makes it exception-safe and return/break safe. It also takes care of saving and restoring the prior state of the flag.
This class is convenient to use when evaluating shader inputs and it is not desirable for the input evaluation to trigger frame buffer contributions via indirect upstream shader calls.
Autodesk® Maya® 2012 © 2010 Autodesk, Inc. All rights reserved. | Generated with 1.5.6 |