Package slumMaya :: Module shaderSurface :: Class shaderSurface
[hide private]
[frames] | no frames]

Class shaderSurface

source code

    maya.OpenMayaMPx.MPxNode --+
                               |
maya.OpenMayaMPx.MPxNode --+   |
                           |   |
       shaderBase.shaderBase --+
                               |
                              shaderSurface

Instance Methods [hide private]
 
__init__(self)
placeholder.
source code
 
render(self, geo) source code
 
bind(self, MDrawRequest, M3dView) source code
 
unbind(self, MDrawRequest, M3dView) source code
 
geometry(self, MDrawRequest, M3dView, prim, writable, indexCount, indexArray, vertexCount, vertexIDs, vertexArray, normalCount, normalArrays, colorCount, colorArrays, texCoordCount, texCoordArrays) source code
 
renderSwatchImage(self, image) source code

Inherited from shaderBase.shaderBase: compute, getInternalValueInContext, setDependentsDirty, setInternalValueInContext

Static Methods [hide private]
 
nodeCreator()
plugin creation method (returns the class object).
source code

Inherited from shaderBase.shaderBase: nodeInitializer, slumInitializer

Class Variables [hide private]

Inherited from shaderBase.shaderBase: slum

Method Details [hide private]

__init__(self)
(Constructor)

source code 

placeholder. not used at the moment

Overrides: shaderBase.shaderBase.__init__
(inherited documentation)

nodeCreator()
Static Method

source code 

plugin creation method (returns the class object). this is needed to register a new node in maya.

Overrides: shaderBase.shaderBase.nodeCreator
(inherited documentation)

renderSwatchImage(self, image)

source code 
Overrides: shaderBase.shaderBase.renderSwatchImage