Rechercher une page de manuel
SoVertexShader.3coin2
Langue: en
Version: 375187 (fedora - 01/12/10)
Section: 3 (Bibliothèques de fonctions)
Sommaire
- NAME
- SYNOPSIS
- Detailed Description
- Constructor & Destructor Documentation
- Member Function Documentation
- void SoVertexShader::initClass (void) [static]Sets up initialization for data common to all instances of this class, like submitting necessary information to the Coin type system.
- SbBool SoVertexShader::isSupported (SourceType sourceType) [static]Returns a boolean indicating whether the requested source type is supported by the OpenGL driver or not.
- Author
NAME
SoVertexShader -The SoVertexShader class is used for setting up vertex shader programs.
See Shaders in Coin for more information on how to set up a scene graph with shaders.
SYNOPSIS
#include <Inventor/nodes/SoVertexShader.h>
Inherits SoShaderObject.
Public Member Functions
SoVertexShader (void)
virtual ~SoVertexShader ()
Static Public Member Functions
static void initClass (void)
static SbBool isSupported (SourceType sourceType)
Detailed Description
The SoVertexShader class is used for setting up vertex shader programs.
See Shaders in Coin for more information on how to set up a scene graph with shaders.
FILE FORMAT/DEFAULTS:
VertexShader { isActive TRUE sourceType FILENAME sourceProgram '' parameter [] }
See also:
- SoShaderObject
SoShaderProgram
Since:
- Coin 2.5
Constructor & Destructor Documentation
SoVertexShader::SoVertexShader (void)Constructor.
SoVertexShader::~SoVertexShader () [virtual]Destructor.
Member Function Documentation
void SoVertexShader::initClass (void) [static]Sets up initialization for data common to all instances of this class, like submitting necessary information to the Coin type system.
Reimplemented from SoShaderObject.
SbBool SoVertexShader::isSupported (SourceType sourceType) [static]Returns a boolean indicating whether the requested source type is supported by the OpenGL driver or not.
Beware: To get a correct answer, a valid OpenGL context must be available.
References SoShaderObject::ARB_PROGRAM, SoShaderObject::CG_PROGRAM, and SoShaderObject::GLSL_PROGRAM.
Author
Generated automatically by Doxygen for Coin from the source code.
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre