Python API 2.0 Reference: OpenMayaUI.ShaderContext Class Reference

OpenMayaUI.ShaderContext Class Reference
+ Inheritance diagram for OpenMayaUI.ShaderContext:

Public Member Functions

__init__ ()
 

Properties

 path
 
 shadingEngine
 

Detailed Description

Provides contextual information about the current invocation of the shader.

Constructor & Destructor Documentation

OpenMayaUI.ShaderContext.__init__ ( )
x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Property Documentation

OpenMayaUI.ShaderContext.path
static
 DAG path for the given invocation of the shader
OpenMayaUI.ShaderContext.shadingEngine
static
 Shading engine node for the given invocation of the shader