Changeset 2240 for GTP/trunk/Lib/Illum/IllumModule/OgreIllumModule/include/RenderTechniques/OgreCubeMapRenderTechnique.h
- Timestamp:
- 03/13/07 09:27:17 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Illum/IllumModule/OgreIllumModule/include/RenderTechniques/OgreCubeMapRenderTechnique.h
r1930 r2240 34 34 @param angleTolerance angle tolerance used in face skip 35 35 @param updateAllFace defines if all cubemap faces should be updated in a frame or only one face per frame 36 @param renderSelf sets if the object should be rendered to the cube map 37 @param renderEnvironment sets if the environment should be rendered to the cube map 38 @param selfMaterial the material that should be set for the object while rendering the cubemap 39 @param environmentMaterial the material that should be set for the environment while rendering the cubemap 40 @param layer the layer of this cubemap 41 @param getMinMax sets if the minimum and maximum values of the cubemap should be computed 42 @param attachToTexUnit sets if this cubemap should be attach to a texture unit of the pass 43 @param minVariableName sets the name of the gpu shader program parameter to which the minimum value should be bound to 44 @param maxVariableName sets the name of the gpu shader program parameter to which the maximum value should be bound to 36 45 @param pass the pass to operate on 37 46 @param parentRenderable the object to operate on … … 73 82 */ 74 83 unsigned char texID; 84 /** 85 @brief the material that should be set for the object while rendering the cubemap 86 */ 75 87 String selfMaterial; 88 /** 89 @brief the material that should be set for the environment while rendering the cubemap 90 */ 76 91 String environmentMaterial; 92 //helper string to name the created cubemaps 77 93 String texturePostFix; 78 94 /** 95 @brief sets if the minimum and maximum values of the cubemap should be computed 96 */ 79 97 bool getMinMax; 98 /** 99 @brief sets if this cubemap should be attach to a texture unit of the pass 100 */ 80 101 bool attachToTexUnit; 102 /** 103 @brief sets the name of the gpu shader program parameter to which the minimum value should be bound to 104 */ 81 105 String minVariableName; 106 /** 107 @brief sets the name of the gpu shader program parameter to which the maximum value should be bound to 108 */ 82 109 String maxVariableName; 83 110 111 //inherited 84 112 RenderingRun* createCubeMapRun(); 85 void cubeMapRunChanged(RenderingRun* run); 113 //inherited 114 void cubeMapRunChanged(RenderingRun* run); 115 //inherited 86 116 void cubeMapRunUpdated(RenderingRun* run); 87 117 }; 88 118 119 /** 120 @brief RenderTechniqueFactory to create OgreCubeMapRenderTechnique instances. 121 */ 89 122 class OgreCubeMapRenderTechniqueFactory : public RenderTechniqueFactory 90 123 {
Note: See TracChangeset
for help on using the changeset viewer.