MeVisLabToolboxReference
SoVertexAttribute4ub Class Reference

Vertex attribute of type UInt32 interpreted as 4 unsigned bytes NOTE: the values are interpreted as RGBA colors in the sense of a SbColor::getPackedValue(). More...

#include <SoVertexAttributeNodes.h>

Inheritance diagram for SoVertexAttribute4ub:
SoVertexAttributeBase

List of all members.

Public Member Functions

 SoVertexAttribute4ub ()
 Constructor.

Static Public Member Functions

static void initClass ()
 Initialize class with runtime type system.

Public Attributes

SoMFUInt32 values
SoSFBool normalized

Protected Member Functions

virtual void updateInfo ()

Detailed Description

Vertex attribute of type UInt32 interpreted as 4 unsigned bytes NOTE: the values are interpreted as RGBA colors in the sense of a SbColor::getPackedValue().

This means that on little endian machines, the values will be swapped internnaly before being transferred to OpenGL.

Definition at line 187 of file SoVertexAttributeNodes.h.


Constructor & Destructor Documentation

SoVertexAttribute4ub::SoVertexAttribute4ub ( )

Constructor.


Member Function Documentation

static void SoVertexAttribute4ub::initClass ( ) [static]

Initialize class with runtime type system.

Reimplemented from SoVertexAttributeBase.

virtual void SoVertexAttribute4ub::updateInfo ( ) [protected, virtual]

Reimplemented from SoVertexAttributeBase.


Member Data Documentation

Definition at line 195 of file SoVertexAttributeNodes.h.

Definition at line 194 of file SoVertexAttributeNodes.h.


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