![]() | Writeable
| ||||||||||||
![]() | DirtyMask
| ||||||||||||
![]() | TransparencyOptions
| ||||||||||||
![]() | MPxHwShaderNode () | ||||||||||||
![]() | ~MPxHwShaderNode () | ||||||||||||
![]() | type () const | ||||||||||||
![]() | bind ( const MDrawRequest & request, M3dView & view ) | ||||||||||||
![]() | unbind ( const MDrawRequest & request, M3dView & view ) | ||||||||||||
![]() | geometry ( const MDrawRequest & request, M3dView & view, int prim, unsigned int writable, int indexCount, const unsigned int * indexArray, int vertexCount, const int * vertexIDs, const float * vertexArray, int normalCount, floatArrayPtr normalArrays, int colorCount, floatArrayPtr colorArrays, int texCoordCount, floatArrayPtr texCoordArrays) | ||||||||||||
![]() | glBind ( const MDagPath & shapePath ) | ||||||||||||
![]() | glUnbind ( const MDagPath & shapePath ) | ||||||||||||
![]() | glGeometry ( const MDagPath & shapePath, int glPrim, unsigned int writeMask, int indexCount, const unsigned int* indexArray, int vertexCount, const int * vertexIDs, const float * vertexArray, int normalCount, floatArrayPtr normalArrays, int colorCount, floatArrayPtr colorArrays, int texCoordCount, floatArrayPtr texCoordArrays) | ||||||||||||
![]() | supportsBatching () const | ||||||||||||
![]() | invertTexCoords () const | ||||||||||||
![]() | currentPath () const | ||||||||||||
![]() | dirtyMask () const | ||||||||||||
![]() | normalsPerVertex () | ||||||||||||
![]() | colorsPerVertex () | ||||||||||||
![]() | getColorSetNames ( MStringArray & names) NO SCRIPT SUPPORT | ||||||||||||
![]() | texCoordsPerVertex () | ||||||||||||
![]() | getTexCoordSetNames ( MStringArray & names) NO SCRIPT SUPPORT | ||||||||||||
![]() | hasTransparency () | ||||||||||||
![]() | provideVertexIDs () | ||||||||||||
![]() | transparencyOptions () | ||||||||||||
![]() | getAvailableImages ( const MString & uvSetName, MStringArray & imageNames) NO SCRIPT SUPPORT | ||||||||||||
![]() | renderImage ( const MString & imageName, floatRegion region, int& imageWidth, int& imageHeight) NO SCRIPT SUPPORT | ||||||||||||
![]() | renderSwatchImage ( MImage & image ) | ||||||||||||
![]() | getHwShaderNodePtr ( MObject & object ) | ||||||||||||
![]() | currentShadingEngine () const | ||||||||||||
![]() | outColor output color value | ||||||||||||
![]() | outColorR output color red | ||||||||||||
![]() | outColorG output color green | ||||||||||||
![]() | outColorB output color blue | ||||||||||||
![]() | outTransparency output transparency value | ||||||||||||
![]() | outTransparencyR output transparency red | ||||||||||||
![]() | outTransparencyG output transparency green | ||||||||||||
![]() | outTransparencyB output transparency blue | ||||||||||||
![]() | outMatteOpacity output matte opacity value | ||||||||||||
![]() | outMatteOpacityR output matte opacity red | ||||||||||||
![]() | outMatteOpacityG output matte opacity green | ||||||||||||
![]() | outMatteOpacityB output matte opacity blue | ||||||||||||
![]() | outGlowColor output glow color value | ||||||||||||
![]() | outGlowColorR output glow color red | ||||||||||||
![]() | outGlowColorG output glow color green | ||||||||||||
![]() | outGlowColorB output glow color blue |
![]() | Type |
![]() | postConstructor () |
![]() | compute ( const MPlug & plug, MDataBlock & dataBlock ) |
![]() | getInternalValueInContext ( const MPlug & plug, MDataHandle & dataHandle, MDGContext & ctx) |
![]() | setInternalValueInContext ( const MPlug & plug, const MDataHandle & dataHandle, MDGContext & ctx) |
![]() | getInternalValue ( const MPlug & plug, MDataHandle & dataHandle) |
![]() | setInternalValue ( const MPlug & plug, const MDataHandle & dataHandle) |
![]() | internalArrayCount ( const MPlug & plug, const MDGContext & ctx) const |
![]() | copyInternalData ( MPxNode * ) |
![]() | legalConnection ( const MPlug & plug, const MPlug & otherPlug, bool asSrc, bool& isLegal ) const |
![]() | legalDisconnection ( const MPlug & plug, const MPlug & otherPlug, bool asSrc, bool& isLegal ) const |
![]() | setDependentsDirty ( const MPlug & plug, MPlugArray & plugArray) |
![]() | connectionMade ( const MPlug & plug, const MPlug & otherPlug, bool asSrc ) |
![]() | connectionBroken ( const MPlug & plug, const MPlug & otherPlug, bool asSrc ) |
![]() | isPassiveOutput ( const MPlug & plug ) const |
![]() | shouldSave ( const MPlug & plug, bool& isSaving ) |
![]() | passThroughToOne ( const MPlug & plug ) const |
![]() | passThroughToMany ( const MPlug & plug, MPlugArray & plugArray ) const |
![]() | typeId () const |
![]() | typeName () const |
![]() | name () const |
![]() | type () const |
![]() | isAbstractClass () const |
![]() | thisMObject () const |
![]() | addAttribute ( const MObject & attr ) |
![]() | inheritAttributesFrom ( const MString & parentClassName ) |
![]() | attributeAffects ( const MObject & whenChanges, const MObject & isAffected ) |
![]() | setExistWithoutInConnections ( bool flag ) |
![]() | existWithoutInConnections ( MStatus * ReturnStatus = NULL ) const |
![]() | setExistWithoutOutConnections ( bool flag ) |
![]() | existWithoutOutConnections ( MStatus * ReturnStatus = NULL ) const |
![]() | message |
![]() | isHistoricallyInteresting |
![]() | caching |
![]() | state |
![]() | forceCache ( MDGContext & ctx= MDGContext::fsNormal ) |
![]() | setMPSafe ( bool flag ) |
![]() | setDoNotWrite ( bool flag ) |
![]() | doNotWrite ( MStatus *ReturnStatus = NULL ) const |
glPushAttrib( <GL bits your shader modifies> ); glPushClientAttrib( GL_CLIENT_VERTEX_ARRAY_BIT); ... setup material here ... glBegin( GL_QUADS); glTexCoord2f(region[0][0], region[0][1]); glVertex2f(region[0][0], region[0][1]); glTexCoord2f(region[0][0], region[1][1]); glVertex2f(region[0][0], region[1][1]); glTexCoord2f(region[1][0], region[1][1]); glVertex2f(region[1][0], region[1][1]); glTexCoord2f(region[1][0], region[0][1]); glVertex2f(region[1][0], region[0][1]); glEnd(); glPopAttrib(); glPopClientAttrib();Arguments
Autodesk® Maya® 2008 © 1997-2007 Autodesk, Inc. All rights reserved. | doc++ Copyright |