SoVertexShaderParameterBufferObject Class Reference
[Shaders]

VSG extension Vertex shader parameter node storing a buffer object. More...

#include <Inventor/nodes/SoShaderParameter.h>

Inheritance diagram for SoVertexShaderParameterBufferObject:
SoVertexShaderParameter SoShaderParameter SoNode SoFieldContainer SoBase SoRefCounter SoTypedObject SoInstanceParameter

List of all members.

Public Member Functions

virtual SoType getTypeId () const
 SoVertexShaderParameterBufferObject ()

Static Public Member Functions

static SoType getClassTypeId ()

Public Attributes

SoSFBufferObject value
SoSFInt32 components
SoSFEnum type
SoSFInt32 offset
SoSFInt32 stride
SoSFBool shouldBeNormalized

Detailed Description

VSG extension Vertex shader parameter node storing a buffer object.

This node allows the application to provide a per-vertex parameter of any type, using an SoBufferObject, 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.

FILE FORMAT/DEFAULT

SEE ALSO

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


Constructor & Destructor Documentation

SoVertexShaderParameterBufferObject::SoVertexShaderParameterBufferObject (  ) 

Constructor.


Member Function Documentation

static SoType SoVertexShaderParameterBufferObject::getClassTypeId (  )  [static]

Returns the type identifier for this class.

Reimplemented from SoVertexShaderParameter.

Reimplemented in SoInstanceParameter.

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

Returns the type identifier for this specific instance.

Reimplemented from SoVertexShaderParameter.

Reimplemented in SoInstanceParameter.


Member Data Documentation

Specifies the number of components per generic vertex parameter.

Must be 1, 2, 3 or 4. The default value is 4.

Offset in bytes to the first parameter within the buffer.

Default is 0.

Specifies if the fixed-point data in the buffer object should be normalized when they are accessed.

The default value is FALSE.

Specifies the byte offset between consecutive generic vertex parameter.

If stride is 0, the values are understood to be tightly packed in the buffer object. The default value is 0.

Specifies the data type from the class SbDataType of each generic vertex parameter component.

Use enum SbDataType::DataType. SbDataType::Unknown is not allowed, the default value is SbDataType::FLOAT.

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/