Vertex shader parameter node storing a buffer object. More...
#include <Inventor/nodes/SoShaderParameter.h>
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 |
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.
name | "" |
identifier | 0 |
value | NULL |
components | 4 |
type | SbDataType::FLOAT |
stride | 0 |
shouldBeNormalized | FALSE |
SoShaderParameter, SoVertexShaderParameter, SoUniformShaderParameter, SoVertexShaderParameter1f, SoVertexShaderParameter1s, SoVertexShaderParameter2f, SoVertexShaderParameter2s, SoVertexShaderParameter3f, SoVertexShaderParameter3s, SoVertexShaderParameter4i, SoVertexShaderParameter4s, SoVertexShaderParameter4b, SoVertexShaderParameter4ui, SoVertexShaderParameter4us, SoVertexShaderParameter4ub, SoVertexShaderParameterMatrix, SoShaderObject, SoShaderProgram.
SoVertexShaderParameterBufferObject::SoVertexShaderParameterBufferObject | ( | ) |
Constructor.
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.
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.