---
name: "SoTextureEnabledElement"
section: "3"
platform: "linux"
package: "libcoin60-doc"
version: "3.1.3-2.2"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/SoTextureEnabledElement"
---

# SoTextureEnabledElement(3)

The SoTextureEnabledElement class is an element which stores whether texturing is enabled or not. Be aware that this class is an extension for Coin, and it is not available in the original SGI Open Inventor v2.1 API.

## NAME

SoTextureEnabledElement -

The **SoTextureEnabledElement** class is an element which stores whether texturing is enabled or not.

Be aware that this class is an extension for Coin, and it is not available in the original SGI Open Inventor v2.1 API.

## SYNOPSIS

`#include <Inventor/elements/SoTextureEnabledElement.h>`

Inherits **SoInt32Element**.

Inherited by **SoGLTextureEnabledElement**.

### Public Member Functions

virtual void **init** (**SoState** \*state)\
 *FIXME: write doc.*  virtual void **setElt** (int32\_t value)\
 *FIXME: write doc.*

### Static Public Member Functions

static **SoType** **getClassTypeId** (void)\
 static int **getClassStackIndex** (void)\
 static void \* **createInstance** (void)\
 static void **initClass** (void)\
 static void **set** (**SoState** \*const state, **SoNode** \*const node, const SbBool enabled)\
 static SbBool **get** (**SoState** \*const state)\
 static SbBool **getDefault** (void)\

### Protected Member Functions

virtual **~SoTextureEnabledElement** ()\

### Additional Inherited Members

## Detailed Description

The **SoTextureEnabledElement** class is an element which stores whether texturing is enabled or not.

Be aware that this class is an extension for Coin, and it is not available in the original SGI Open Inventor v2.1 API.

**See also:**

SoTexture3EnabledElement

**Since:**

Coin 2.0

## Constructor & Destructor Documentation

### SoTextureEnabledElement::~SoTextureEnabledElement (void)` [protected]`, ` [virtual]`

The destructor.

## Member Function Documentation

### SoType SoTextureEnabledElement::getClassTypeId (void)` [static]`

This static method returns the class type.

Reimplemented from **SoInt32Element**.

Reimplemented in **SoGLTextureEnabledElement**.

### int SoTextureEnabledElement::getClassStackIndex (void)` [static]`

This static method returns the state stack index for the class.

Reimplemented from **SoInt32Element**.

Reimplemented in **SoGLTextureEnabledElement**.

### void \* SoTextureEnabledElement::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.*

Reimplemented in **SoGLTextureEnabledElement**.

### void SoTextureEnabledElement::initClass (void)` [static]`

Initialize relevant common data for all instances, like the type system.

Reimplemented from **SoInt32Element**.

Reimplemented in **SoGLTextureEnabledElement**.

### void SoTextureEnabledElement::set (SoState \*conststate, SoNode \*constnode, const SbBoolenabled)` [static]`

Sets the state of this element.

Reimplemented in **SoGLTextureEnabledElement**.

### SbBool SoTextureEnabledElement::get (SoState \*conststate)` [static]`

Return current state of this element.

Reimplemented in **SoGLTextureEnabledElement**.

### SbBool SoTextureEnabledElement::getDefault (void)` [static]`

Returns default state of this element (FALSE).

Reimplemented in **SoGLTextureEnabledElement**.

## Author

Generated automatically by Doxygen for Coin from the source code.
