SoShaderParameterMatrix Class Reference
[Shaders]

VSG extension Uniform shader parameter node storing a 4x4 matrix. More...

#include <Inventor/nodes/SoShaderParameter.h>

Inheritance diagram for SoShaderParameterMatrix:
SoUniformShaderParameter SoShaderParameter SoNode SoFieldContainer SoBase SoRefCounter SoTypedObject

List of all members.

Public Member Functions

virtual SoType getTypeId () const
 SoShaderParameterMatrix ()
virtual bool isEqual (const SoUniformShaderParameter *param) const

Static Public Member Functions

static SoType getClassTypeId ()

Public Attributes

SoSFMatrix value

Detailed Description

VSG extension Uniform shader parameter node storing a 4x4 matrix.

This node allows the application to provide a uniform parameter of type 4x4 matrix of floats to a shader object, e.g. SoFragmentShader.

Uniform shader parameter nodes are usually added to the shader object's parameter field to affect only that specific shader program, but can also be inserted in the scene graph and affect all subsequent shader programs.

See the base classes SoShaderParameter and SoUniformShaderParameter for details.

Caution: With shader programs written using the ARB_ language, identifier, identifier + 1, identifier + 2, identifier + 3 will automatically refer to columns 0, 1, 2, and 3 of the matrix.

FILE FORMAT/DEFAULT

SEE ALSO

SoShaderParameter, SoUniformShaderParameter, SoShaderParameter1f, SoShaderParameter1i, SoShaderParameter2f, SoShaderParameter2i, SoShaderParameter3f, SoShaderParameter3i, SoShaderParameter4f, SoShaderParameter4i, SoShaderParameterArray1f, SoShaderParameterArray1i, SoShaderParameterArray2f, SoShaderParameterArray2i, SoShaderParameterArray3f, SoShaderParameterArray3i, SoShaderParameterArray4f, SoShaderParameter4i, SoShaderParameterMatrixArray, SoShaderStateMatrixParameter, SoShaderObject, SoShaderProgram.


Constructor & Destructor Documentation

SoShaderParameterMatrix::SoShaderParameterMatrix (  ) 

Constructor.


Member Function Documentation

static SoType SoShaderParameterMatrix::getClassTypeId (  )  [static]

Returns the type identifier for this class.

Reimplemented from SoUniformShaderParameter.

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

Returns the type identifier for this specific instance.

Reimplemented from SoUniformShaderParameter.

virtual bool SoShaderParameterMatrix::isEqual ( const SoUniformShaderParameter param  )  const [virtual]

Member Data Documentation

Specifies the parameter's value.

Default is identity matrix.


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

Open Inventor Toolkit reference manual, generated on 15 Mar 2023
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/