MeVisLab Resolution Independence API
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

Public Member Functions

 SoVertexAttribute4ub ()
 Constructor.
 
- Public Member Functions inherited from SoVertexAttributeBase
 SoVertexAttributeBase ()
 Constructor.
 
void GLRender (SoGLRenderAction *action) override
 

Static Public Member Functions

static void initClass ()
 Initialize class with runtime type system.
 
- Static Public Member Functions inherited from SoVertexAttributeBase
static void initClass ()
 Initialize class with runtime type system.
 

Public Attributes

SoMFUInt32 values
 
SoSFBool normalized
 
- Public Attributes inherited from SoVertexAttributeBase
SoSFString name
 
SoSFBool perInstance
 

Protected Member Functions

void updateInfo () override
 

Additional Inherited Members

- Protected Attributes inherited from SoVertexAttributeBase
SoVertexAttributeInfo _info
 

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 221 of file SoVertexAttributeNodes.h.

Constructor & Destructor Documentation

◆ SoVertexAttribute4ub()

SoVertexAttribute4ub::SoVertexAttribute4ub ( )

Constructor.

Member Function Documentation

◆ initClass()

static void SoVertexAttribute4ub::initClass ( )
static

Initialize class with runtime type system.

◆ updateInfo()

void SoVertexAttribute4ub::updateInfo ( )
overrideprotectedvirtual

Reimplemented from SoVertexAttributeBase.

Member Data Documentation

◆ normalized

SoSFBool SoVertexAttribute4ub::normalized

Definition at line 229 of file SoVertexAttributeNodes.h.

◆ values

SoMFUInt32 SoVertexAttribute4ub::values

Definition at line 228 of file SoVertexAttributeNodes.h.


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