Extends class IViewportShadingMgr.
#include <IViewportShadingMgr.h>
Public Member Functions |
|
virtual bool | IsHWShadingEnabled (bool bCurrentlyTraversed=false) const =0 |
The active viewport can be interpreted by
the function is two ways. |
|
virtual bool | IsHWShadingEnabled (const ViewExp &view) const =0 |
Get the hardware enabled flag for the view
supplied. |
virtual bool IsHWShadingEnabled | ( | bool | bCurrentlyTraversed =
false |
) | const [pure virtual] |
The active viewport can be interpreted by the function is two ways.
Firstly if bCurrentlyTraversed is false, the default, the actual active viewport is used. This would be the same as Interface::GetActiveViewport(). Secondly if bCurrentlyTraversed is true, then the viewport that is currently being traversed as part of the viewport rendering will be considered the active viewport. This could be used by a material that needs additional setup if hardware rendering is being performed.
bCurrentlyTraversed | Defines what the method will interpret as the active view. See notes for the function. |
virtual bool IsHWShadingEnabled | ( | const ViewExp & | view | ) | const [pure virtual] |
Get the hardware enabled flag for the view supplied.
& | view The view to query |