Stores the current 3D texture coordinates. More...
#include <Inventor/elements/SoTextureCoordinateBindingElement.h>
Public Types | |
| enum | Binding { PER_VERTEX = SbVertexAttributeBinding::PER_VERTEX, PER_VERTEX_INDEXED = SbVertexAttributeBinding::PER_VERTEX_INDEXED } |
Public Member Functions | |
| virtual void | push (SoState *) |
| virtual void | print (FILE *fp) const |
Static Public Member Functions | |
| static SoType | getClassTypeId () |
| static int | getClassStackIndex () |
| static void | set (SoState *state, Binding binding) |
| static void | set (SoState *state, SoNode *, Binding binding) |
| static Binding | get (SoState *state, int unit=0) |
| static Binding | getDefault () |
Stores the current 3D texture coordinates.
This element stores the current texture coordinate binding.
Returns current texture binding from the state.
| static int SoTextureCoordinateBindingElement::getClassStackIndex | ( | ) | [static] |
Returns the stack id for this element.
Reimplemented from SoReplacedTextureElement.
| static SoType SoTextureCoordinateBindingElement::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from SoReplacedTextureElement.
| static Binding SoTextureCoordinateBindingElement::getDefault | ( | ) | [inline, static] |
Returns the default texture binding.
| virtual void SoTextureCoordinateBindingElement::print | ( | FILE * | fp | ) | const [virtual] |
Prints element (for debugging).
Reimplemented from SoReplacedTextureElement.
| virtual void SoTextureCoordinateBindingElement::push | ( | SoState * | ) | [virtual] |
Overrides push() method to copy values from next instance in the stack.
Reimplemented from SoReplacedTextureElement.
| static void SoTextureCoordinateBindingElement::set | ( | SoState * | state, | |
| SoNode * | , | |||
| Binding | binding | |||
| ) | [static] |
Sets the current texture binding in the state.
Sets the current texture binding in the state.