FrameBufferDisable Class Reference

#include <adskFrameBufferState.h>

List of all members.


Detailed Description

Creating an object of this class will disable frame buffer contributions in indirect shader calls in the current thread for the lifetime of the object.

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 doxygen 1.5.6