29 #ifndef __SHADERIMAGE2D_H__
30 #define __SHADERIMAGE2D_H__
57 Inst< SFNode > _metadata = 0,
58 Inst< SFInt32 > _width = 0,
59 Inst< SFInt32 > _height = 0,
60 Inst< SFString > _format = 0
65 virtual void render ( );
69 virtual void prepareShaderImage ( );
89 static std::map<string, string> imageFormatQualifier_map;
91 static std::map<string, string> initImageFormatQualifier_map ( );
98 static std::map<string, GLenum> stringImageFormat_map;
100 static std::map<string, GLenum> initStringImageFormat_map ( );
102 static const std::vector<string> image_formats;
104 static vector<string> initImage_formats ( );
Contains the SFFloat field class.
Contains the SFInt32 field class.
Contains the SFString field class.
Header file for ShaderImageNode.
ShaderImage2D is a 2D image which can allow openGL to read from and write to.
Definition: ShaderImage2D.h:52
H3DUniquePtr< SFInt32 > height
the height of texture image Access type: inputOutput Default value: 512
Definition: ShaderImage2D.h:79
H3DUniquePtr< SFInt32 > width
the width of texture image Access type: inputOutput Default value: 512
Definition: ShaderImage2D.h:74
static H3DNodeDatabase database
The H3DNodeDatabase for this node.
Definition: ShaderImage2D.h:94
H3DUniquePtr< SFString > format
image internal format to describe how many component are there for the image and for each component,...
Definition: ShaderImage2D.h:85
This is the base node type for the child nodes of the ComposedShader node which is image node type,...
Definition: ShaderImageNode.h:44
H3D API namespace.
Definition: Anchor.h:38
The H3DNodeDatabase contains a mapping between a name of a Node and the constructor for the Node with...
Definition: H3DNodeDatabase.h:194