---
name: "SoGLRenderAction.h"
section: "3"
platform: "linux"
package: "libcoin80-doc"
version: "3.1.4~abc9f50-7"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/SoGLRenderAction.h"
---

# SoGLRenderAction.h(3)

## NAME

SoGLRenderAction.h -

## SYNOPSIS

`#include <Inventor/actions/SoAction.h>`\
 `#include <Inventor/actions/SoSubAction.h>`\
 `#include <Inventor/SbBasic.h>`\
 `#include <Inventor/SbViewportRegion.h>`\
 `#include <Inventor/system/inttypes.h>`\
 `#include <Inventor/lists/SoPathList.h>`\
 `#include <Inventor/lists/SbList.h>`\

### Classes

class **SoGLRenderAction**\
 *The* **SoGLRenderAction** *class renders the scene graph with OpenGL calls.*

Applying this method at a root node for a scene graph, path or pathlist will render all geometry contained within that instance to the current OpenGL context. `"`

### Typedefs

typedef void **SoGLRenderPassCB** (void \*userdata)\
 typedef void **SoGLPreRenderCB** (void \*userdata, class **SoGLRenderAction** \*action)\
 typedef float **SoGLSortedObjectOrderCB** (void \*userdata, **SoGLRenderAction** \*action)\

## Typedef Documentation

### void SoGLRenderPassCB

`Callback functions for the setPassCallback() method need to be of this type.`

*userdata*` is a void pointer to any data the application need to know of in the callback function (like for instance a `*this*` pointer).`

**See also:**

`setPassCallback() `

### float SoGLSortedObjectOrderCB

`A callback used for controlling the transparency sorting order.`

**See also:**

`setSortedObjectOrderStrategy(). `

**Since:**

`Coin 2.5 `

## Author

`Generated automatically by Doxygen for Coin from the source code.`
