SoVertexShaderParameter4ub Class Reference
[Shaders]

VSG extension Vertex shader parameter node storing a four-dimensional (unsigned 8-bit integer) vector. More...

#include <Inventor/nodes/SoShaderParameter.h>

Inheritance diagram for SoVertexShaderParameter4ub:
SoVertexShaderParameter SoShaderParameter SoNode SoFieldContainer SoBase SoRefCounter SoTypedObject

List of all members.

Public Member Functions

virtual SoType getTypeId () const
 SoVertexShaderParameter4ub ()

Static Public Member Functions

static SoType getClassTypeId ()

Public Attributes

SoMFVec4ub value
SoSFBool rangeScaling

Detailed Description

VSG extension Vertex shader parameter node storing a four-dimensional (unsigned 8-bit integer) vector.

This node allows the application to provide a per-vertex parameter of type four-dimensional vector of unsigned 8-bit integers to shader objects, e.g. SoVertexShader.

Vertex shader parameter nodes must be inserted in the scene graph.

See the base classes SoShaderParameter and SoVertexShaderParameter for details.

The rangeScaling field indicates if values shall be scaled to a normalized range when they are loaded. Setting rangeScaling to TRUE implies the following conversion for each component c of the vector: c/(2^8-1), i.e., scaling from [0;2^8-1] to [0;+1].

FILE FORMAT/DEFAULT

SEE ALSO

SoShaderParameter, SoVertexShaderParameter, SoUniformShaderParameter, SoVertexShaderParameter1f, SoVertexShaderParameter1s, SoVertexShaderParameter2f, SoVertexShaderParameter2s, SoVertexShaderParameter3f, SoVertexShaderParameter3s, SoVertexShaderParameter4f, SoVertexShaderParameter4i, SoVertexShaderParameter4s, SoVertexShaderParameter4b, SoVertexShaderParameter4ui, SoVertexShaderParameter4us, SoVertexShaderParameterMatrix, SoShaderObject, SoShaderProgram.


Constructor & Destructor Documentation

SoVertexShaderParameter4ub::SoVertexShaderParameter4ub (  ) 

Constructor.


Member Function Documentation

static SoType SoVertexShaderParameter4ub::getClassTypeId (  )  [static]

Returns the type identifier for this class.

Reimplemented from SoVertexShaderParameter.

virtual SoType SoVertexShaderParameter4ub::getTypeId (  )  const [virtual]

Returns the type identifier for this specific instance.

Reimplemented from SoVertexShaderParameter.


Member Data Documentation

Indicates if values shall be scaled to a normalized range when they are loaded.

Specifies the parameter's values.


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

Open Inventor Toolkit reference manual, generated on 12 Feb 2024
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/