SoTextureNameElement Class Reference
[Elements]

VSG extension Stores the current texture name. More...

#include <Inventor/elements/SoTextureNameElement.h>

Inheritance diagram for SoTextureNameElement:
SoReplacedElement SoElement SoTypedObject

List of all members.

Public Member Functions

virtual void print (FILE *fp) const

Static Public Member Functions

static SoType getClassTypeId ()
static int getClassStackIndex ()
static void set (SoState *state, SoNode *node, const SbName &textureName)
static const SbNameget (SoState *state)
static SbName getDefault ()

Detailed Description

VSG extension Stores the current texture name.

This element stores the current texture name.

SEE ALSO

SoCallbackAction


Member Function Documentation

static const SbName& SoTextureNameElement::get ( SoState state  )  [static]

Returns the current texture name from the state.

static int SoTextureNameElement::getClassStackIndex (  )  [static]

Returns the stack id for this element.

Reimplemented from SoReplacedElement.

static SoType SoTextureNameElement::getClassTypeId (  )  [static]

Returns the type identifier for this class.

Reimplemented from SoReplacedElement.

static SbName SoTextureNameElement::getDefault (  )  [static]

Returns the default texture name.

virtual void SoTextureNameElement::print ( FILE *  fp  )  const [virtual]

Prints element (for debugging).

Reimplemented from SoReplacedElement.

static void SoTextureNameElement::set ( SoState state,
SoNode node,
const SbName textureName 
) [static]

Sets the current texture name.


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

Open Inventor Toolkit reference manual, generated on 4 Sep 2023
Copyright © Thermo Fisher Scientific All rights reserved.
https://www.openinventor.com/