SoTextureCoordinateBindingElement Class Reference

Stores the current 3D texture coordinates. More...

#include <Inventor/elements/SoTextureCoordinateBindingElement.h>

Inheritance diagram for SoTextureCoordinateBindingElement:
SoReplacedTextureElement SoElement SoTypedObject

List of all members.

Public Types

enum  Binding {
  PER_VERTEX = SbVertexAttributeBinding::PER_VERTEX,

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 ()

Detailed Description

Stores the current 3D texture coordinates.

This element stores the current texture coordinate binding.



Member Enumeration Documentation

The choice of values is for compatibility with Open Inventor 2.0 binary format files.


Per vertex texture coordinates.


Per vertex, indexed, texture coordinates.

Member Function Documentation

static Binding SoTextureCoordinateBindingElement::get ( SoState state,
int  unit = 0 
) [static]

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.

static void SoTextureCoordinateBindingElement::set ( SoState state,
Binding  binding 
) [static]

Sets the current texture binding in the state.

The documentation for this class was generated from the following file:

Open Inventor Toolkit reference manual, generated on 16 Mar 2021
Copyright © Thermo Fisher Scientific All rights reserved.