29 #ifndef __SHADERIMAGE3D_H__
30 #define __SHADERIMAGE3D_H__
57 Inst< SFNode > _metadata = 0,
58 Inst< SFInt32 > _width = 0,
59 Inst< SFInt32 > _height = 0,
60 Inst< SFInt32 > _depth = 0,
61 Inst< SFString > _format = 0);
64 virtual void render ( );
68 virtual void prepareShaderImage ( );
97 static std::map<string, GLenum> stringImageFormat_map;
99 static std::map<string, GLenum> initStringImageFormat_map ( );
101 static const std::vector<string> image_formats;
103 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 3D image which can allow openGL to read from and write to.
Definition: ShaderImage3D.h:52
static H3DNodeDatabase database
The H3DNodeDatabase for this node.
Definition: ShaderImage3D.h:93
H3DUniquePtr< SFInt32 > depth
the depth of this 3D texture image Access type: inputOutput Default value: 8
Definition: ShaderImage3D.h:83
H3DUniquePtr< SFInt32 > width
the width of texture image Access type: inputOutput Default value: 512
Definition: ShaderImage3D.h:73
H3DUniquePtr< SFInt32 > height
the height of texture image Access type: inputOutput Default value: 512
Definition: ShaderImage3D.h:78
H3DUniquePtr< SFString > format
image internal format to describe how many component are there for the image and for each component,...
Definition: ShaderImage3D.h:90
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