Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

somaterialbundle(3) [debian man page]

SoMaterialBundle(3)						       Coin						       SoMaterialBundle(3)

NAME
SoMaterialBundle - The SoMaterialBundle class simplifies material handling. Every shape node should create (on the stack) an instance of this class and call sendFirst() before sending anything to GL. During rendering, send() should be used to send material values to GL. SYNOPSIS
Inherits SoBundle. Public Member Functions SoMaterialBundle (SoAction *action) ~SoMaterialBundle () void setUpMultiple (void) void sendFirst (void) void forceSend (const int index) SbBool isColorOnly (void) const void send (const int index, const SbBool betweenbeginend) Additional Inherited Members Detailed Description The SoMaterialBundle class simplifies material handling. Every shape node should create (on the stack) an instance of this class and call sendFirst() before sending anything to GL. During rendering, send() should be used to send material values to GL. Constructor &; Destructor Documentation SoMaterialBundle::SoMaterialBundle (SoAction *action) Constructor with action being the action applied to the geometry node. SoMaterialBundle::~SoMaterialBundle () Destructor Member Function Documentation void SoMaterialBundle::setUpMultiple (void) Currently not in use. It is only provided for OIV compliance. void SoMaterialBundle::sendFirst (void) Sends the initial material values to GL. Must be done once in all geometry nodes before the rendering begins. void SoMaterialBundle::forceSend (const intindex) Will send the material to GL even though index equals the current index. Provided for compatibility with the SGI Open Inventor v2.1 API. SbBool SoMaterialBundle::isColorOnly (void) const Returns TRUE if the current light model is BASE_COLOR. void SoMaterialBundle::send (const intindex, const SbBoolbetweenbeginend) Sends material values with index index to GL. Will test whether the current index equals index before sending. betweenBeginEnd should be TRUE if your program is between a glBegin() and glEnd() (it is illegal to change the polygon stipple between a glBegin() and glEnd()). Author Generated automatically by Doxygen for Coin from the source code. Version 3.1.3 Wed May 23 2012 SoMaterialBundle(3)

Check Out this Related Man Page

SoGLMultiTextureCoordinateElement(3)				       Coin				      SoGLMultiTextureCoordinateElement(3)

NAME
SoGLMultiTextureCoordinateElement - The SoGLMultiTextureCoordinateElement class stores the current gltexture coordinates for several units. SYNOPSIS
#include <Inventor/elements/SoGLMultiTextureCoordinateElement.h> Inherits SoMultiTextureCoordinateElement. Public Member Functions virtual void init (SoState *state) FIXME: write doc. virtual void push (SoState *state) FIXME: write doc. virtual void pop (SoState *state, const SoElement *prevTopElement) FIXME: write doc. virtual SoTextureCoordinateElement::CoordType getType (const int unit) const " FIXME: write doc. void send (const int unit, const int index) const FIXME: write doc. void send (const int unit, const int index, const SbVec3f &c, const SbVec3f &n) const FIXME: write doc. void initRender (const SbBool *enabled, const int maxenabled) const Static Public Member Functions static SoType getClassTypeId (void) static int getClassStackIndex (void) static void * createInstance (void) static void initClass (void) static void setTexGen (SoState *const state, SoNode *const node, const int unit, SoTexCoordTexgenCB *const texgenFunc, void *const texgenData=NULL, SoTextureCoordinateFunctionCB *const func=NULL, void *const funcData=NULL) FIXME: write doc. static const SoGLMultiTextureCoordinateElement * getInstance (SoState *const state)" FIXME: write doc. Protected Member Functions SoGLMultiTextureCoordinateElement (void) virtual ~SoGLMultiTextureCoordinateElement () virtual void setElt (const int unit, SoTexCoordTexgenCB *func, void *data=NULL) FIXME: write doc. Additional Inherited Members Detailed Description The SoGLMultiTextureCoordinateElement class stores the current gltexture coordinates for several units. Constructor &; Destructor Documentation SoGLMultiTextureCoordinateElement::SoGLMultiTextureCoordinateElement (void) [protected] The constructor. SoGLMultiTextureCoordinateElement::~SoGLMultiTextureCoordinateElement () [protected], [virtual] The destructor. Member Function Documentation SoType SoGLMultiTextureCoordinateElement::getClassTypeId (void) [static] This static method returns the class type. Reimplemented from SoElement. int SoGLMultiTextureCoordinateElement::getClassStackIndex (void) [static] This static method returns the state stack index for the class. Reimplemented from SoElement. void * SoGLMultiTextureCoordinateElement::createInstance (void) [static] This API member is considered internal to the library, as it is not likely to be of interest to the application programmer. void SoGLMultiTextureCoordinateElement::initClass (void) [static] This static method initializes static data for the SoGLMultiTextureCoordinateElement class. Reimplemented from SoElement. void SoGLMultiTextureCoordinateElement::initRender (const SbBool *enabled, const intmaxenabled) const Internal method that is called from SoGLTextureCoordinateElement to set up optimized rendering. Author Generated automatically by Doxygen for Coin from the source code. Version 3.1.3 Wed May 23 2012 SoGLMultiTextureCoordinateElement(3)
Man Page